Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.7.1
-
None
-
Vagrant CentOS-7 boxes.
Couchbase Enterprise Edition 6.5.0 build 2410
-
1
Description
Creating multiple buckets within the same Java SDK code results in java.lang.RuntimeException: java.util.concurrent.TimeoutException
Steps:
- Couchbase cluster is not having zero buckets created in it.
- Created cluster object and authenticated it from Java SDK
- Calls insertBucket() to created 'bucket-1', 'bucket-2', 'bucket-3' in sequential manner
Observation:
"bucket-1" created in the cluster and insertBucket() is called for "bucket-2". But this call wait for some time and after sometime it exits with the concurrent.Timeout exception.
If the already created bucket "bucket-1" is deleted from UI during the wait time of "bucket-2", bucket creation is successful for "bucket-2". But same thing happens for "bucket-3" again.
Attaching the java client code create_bucket.java and console log sdk.log for reference.