Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1295

Java SDK: Creating multiple buckets with results in 'java.util.concurrent.Timeout'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 2.7.1
    • Core
    • 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:

      1. Couchbase cluster is not having zero buckets created in it.
      2. Created cluster object and authenticated it from Java SDK
      3. 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.

      Attachments

        1. create_bucket.java
          3 kB
        2. sdk_trace_level.log
          21.59 MB
        3. sdk.log
          175 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty