Details
-
Bug
-
Resolution: Fixed
-
Critical
-
3.1.4
-
cb-server::7.0.0-5161
java-client-3.1.4.jar
core-io-2.1.4.jar
-
1
Description
Server build: 7.0.0-5161
Java-client: 3.1.4
Scenario:
- Tried opening a bucket object with waitUntilReady call.
- Initially seen `com.couchbase.client.core.error.UnambiguousTimeoutException` exception (
JCBC-1806). So did a retry of bucket connect request after 2mins of sleep. - During this time observed 'java.lang.IllegalStateException' with reason :: "Against pre 6.5 clusters at least a bucket needs to be opened!" on the 7.0.0 server
Code reference: https://github.com/couchbaselabs/TAF/blob/9defda6d5c32ee4ade01bf0f5169c1fd2d9d17b3/lib/sdk_client3.py#L297
Test logs:
2021-05-16 23:15:23,730 | test | CRITICAL | MainThread | [sdk_client3:_SDKClient__create_conn:310] WaitUntilReady timeout exception count 1
|
2021-05-16 23:15:23,730 | test | CRITICAL | MainThread | [sdk_client3:_SDKClient__create_conn:312] Exception during waitUntilReady: com.couchbase.client.core.error.UnambiguousTimeoutException: WaitUntilReady timed out {"bucket":"default","checkedServices":["KV"],"currentState":"OFFLINE","desiredState":"ONLINE","services":{},"timeoutMs":120000}
|
2021-05-16 23:15:23,756 | test | INFO | MainThread | [sdk_client3:get_memory_footprint:329] RAM FootPrint: 1493.3203125
|
2021-05-16 23:15:23,767 | test | INFO | MainThread | [common_lib:sleep:22] Sleep 120 seconds. Reason: sleep before next retry for bucket connection
|
2021-05-16 23:17:23,769 | test | CRITICAL | MainThread | [sdk_client3:_SDKClient__create_conn:310] WaitUntilReady timeout exception count 2
|
2021-05-16 23:17:23,769 | test | CRITICAL | MainThread | [sdk_client3:_SDKClient__create_conn:312] Exception during waitUntilReady: java.lang.IllegalStateException: Against pre 6.5 clusters at least a bucket needs to be opened!
|
2021-05-16 23:17:23,792 | test | INFO | MainThread | [sdk_client3:get_memory_footprint:329] RAM FootPrint: 1493.3828125
|
2021-05-16 23:17:23,799 | test | INFO | MainThread | [common_lib:sleep:22] Sleep 120 seconds. Reason: sleep before next retry for bucket connection
|
Note: Seen very rarely in functional tests and not enabled debug / info logs when this error was encountered
Attachments
Issue Links
- relates to
-
JCBC-1809 WaitUntilReady against buckets failing on <6.5 clusters
- Closed