|
See http://www.couchbase.com/forums/thread/fast-computer-race-condition-java-client
|
|
I think part of the solution on this is to poll the configuration until it transitions from warmup to healthy.
|
|
The idea is that there is a section of the code that walks the URIs, finds the bucket, then after finding it sets up the stream for the configuration. When it first finds the bucket, if it's in a "warmup" state, (easy to simulate by restarting a server) it will show that it is and will not have a vbucket map. At that point, we should loop without setting up the stream *or* we should set up the stream and let anything handling reconfigure handle the transition from warmup to warmed up.
|
|
http://review.couchbase.com/#/c/22933/1
|
|
Still working out the flow here. Based on our current understanding, this can be deferred to 1.1.0 or even post since it's an enhancement for reliable operation in a secondary or tertiary circumstance. Should be release noted though.
|
|
Determined that the proposed approach is a good change, but better change is needed. That's tracked under JCBC-255.
|
Generated at Tue May 21 03:46:42 CDT 2013 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.