Conversation
d32547b to
348e8dc
Compare
f62a564 to
c9ae3ec
Compare
|
RUN TestGracefulShutdownWithReconnect |
cd1f671 to
41cc5b0
Compare
|
I deleted reconnects count, and deleted event ReconnectedEvent. |
|
Please, take a look. |
41cc5b0 to
64458cf
Compare
c13dd6e to
9f8bc91
Compare
| return "unknown" | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
func (s *ConnectionState) Is(other ConnectionState) bool {
return atomic.LoadUint32(s) == uint32(other)
}
func (s *ConnectionState) Set(new ConnectionState) bool {
...
}
| // ConnectedNow reports if connection is established at the moment. | ||
| func (conn *Connection) ConnectedNow() bool { | ||
| return atomic.LoadUint32(&conn.state) == connConnected | ||
| return ConnectionState(atomic.LoadUint32(&conn.state)) == StateConnected |
There was a problem hiding this comment.
conn.state.Is(StateConnected)
aae8f3d to
3c973bd
Compare
780a1bc to
cbc82d9
Compare
|
Do buffer without time in example-test. |
|
FAIL: ExampleNewSlogLogger (0.00s) |
286fdaa to
8ce702a
Compare
|
Merge conflict |
8ecdf48 to
e23be6f
Compare
|
Please take a look. Please be careful, I fixed the conflict in the connection.go, tarantool_test.go files. |
|
Now I'm changing this code with the new requirements. |
e23be6f to
8681cbc
Compare
We have used the slog library, and now the messages are more informative. Closes #504
61b05d9 to
4f521a8
Compare
|
I think we need addrs x 2. |
conn: change design of tarantool.Logger
Closes #504 .