mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
Add separate grid reconnection mutex (#18862)
Add separate reconnection mutex Give more safety around reconnects and make sure a state change isn't missed. Tested with several runs of `λ go test -race -v -count=500` Adds separate mutex and doesn't mix in the testing mutex.
This commit is contained in:
@@ -535,7 +535,6 @@ func testStreamDeadline(t *testing.T, local, remote *Manager) {
|
||||
err = resp.Err
|
||||
}
|
||||
clientCanceled <- time.Since(started)
|
||||
t.Log("Client Context canceled")
|
||||
}()
|
||||
serverEnd := <-serverCanceled
|
||||
clientEnd := <-clientCanceled
|
||||
|
||||
Reference in New Issue
Block a user