I'm studying the following scenario: while get/set operations to Couchbase I shutting down node(power off on virtual machine). After that, I power on the machine and waiting for Couchbase node recovery. When node's status changing to "healthy" I expect that client reconnect and get/set operations continues. But sometimes reconnection of client occurs immediately, sometime doesn't occur within a few minutes.
I found that client stops trying to establish connection after this exception:
Exception in thread "Thread-122" java.lang.IllegalStateException: Got empty SASL auth mech list. 11:59:25,731 ERROR [stderr] (Thread-122) at net.spy.memcached.auth.AuthThread.listSupportedSASLMechanisms(AuthThread.java:99) 11:59:25,731 ERROR [stderr] (Thread-122) at net.spy.memcached.auth.AuthThread.run(AuthThread.java:112).
I went even deeper and found, that cause of exception is NULL, that return after supportedMechs.get() at AuthThread.listSupportedSASLMechanisms method on string №97 "String supported = supportedMechs.get();"
|For Gerrit Dashboard: SPY-136|
|29657,2||SPY-136: Do not timeout when waiting on the sasl mechs.||spymemcached||Status: MERGED||+2||+1|