Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-34811

Document load fails with CollectionDoesNotExistException

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      On build 6.5.0-3633 

      Steps:

      create an SDK connection to the default collection and try loading documents.

      All the SDK connection fails with the below error while document loading.

      java.lang.Thread.run(Thread.java:748), 14:50:55.537 66/pool-1-thread-6/72b5f/802ee exception CollectionDoesNotExistException should not be retried, wrapping in AttemptWrappedExceptionNoRetry, rollback=true, 14:50:55.538 66/pool-1-thread-6/72b5f/<> hit error com.couchbase.transactions.error.internal.AttemptWrappedExceptionNoRetry: com.couchbase.client.core.error.CollectionDoesNotExistException: Collection "Optional[_default]" in scope "Optional[_default]" does not exist., 14:50:55.538 66/pool-1-thread-6/72b5f/802ee rolling back on error, 14:50:55.538 66/pool-1-thread-6/72b5f/802ee Adding cleanup request for _default/atr-478-#37 to run in 100000 msecs, 14:50:55.538 66/pool-1-thread-6/72b5f added attempt TransactionAttempt{id=802ee,state=PENDING,atrColl=com.couchbase.client.java.ReactiveCollection@40bffb9e/atr-478-#37} after error, 14:50:55.538 66/pool-1-thread-6/72b5f/802ee rollback AttemptContextReactive{id=802ee,state=PENDING,isDone=false,atr=_default/atr-478-#37,staged=java.util.stream.ReferencePipeline$3@13cce64}, 14:50:55.538 66/pool-1-thread-6/72b5f/802ee abort AttemptContextReactive{id=802ee,state=PENDING,isDone=false,atr=_default/atr-478-#37,staged=java.util.stream.ReferencePipeline$3@11233879}, 14:50:55.538 66/pool-1-thread-6/72b5f/<> caught error CollectionDoesNotExistException, wrapping in TransactionFailed]

       

      <gradle build file >

      repositories

      { mavenCentral() mavenLocal() jcenter() maven

      { url 'http://files.couchbase.com/maven2/' }

      maven { url 'https://repo.spring.io/milestone' }
      maven { url "https://oss.sonatype.org/content/repositories/snapshots" }

      // Pull in any jars in folder 'libs'
      flatDir

      { dirs 'libs' }

      }

      dependencies

      { // This will transitively pull in all dependencies of transactions, including Couchbase java-client compile group: 'com.couchbase.client', name: 'couchbase-transactions', version: '1.0.0-alpha.5-SNAPSHOT' compile group: 'com.jcraft', name: 'jsch', version: '0.1.54' compile 'org.ini4j:ini4j:0.5.1' // compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.1' compile 'com.google.guava:guava:22.0' compile 'commons-cli:commons-cli:1.4' compileOnly 'org.projectlombok:lombok:1.18.8' compile 'ch.qos.logback:logback-classic:1.1.2' compile 'net.sourceforge.argparse4j:argparse4j:0.8.1' }

       

      Cluster details and reproduction details :

      2 node cluster with replica as 1 

      create a transaction and load some document with durability as NONE.

      Transaction retries continuously and fails with CollectionDoesNotExistException. 

       
      https://s3.amazonaws.com/bugdb/jira/JCBC-1365/collectinfo-2019-07-01T122526-ns_1%4010.112.184.101.zip
      https://s3.amazonaws.com/bugdb/jira/JCBC-1365/collectinfo-2019-07-01T122526-ns_1%4010.112.184.102.zip
       

      Attachments

        1. basic.zip
          11 kB
        2. build.gradle
          3 kB
        3. error.log
          432 kB
        4. JavaSDK_alpha4_3628.log
          46 kB
        5. JavaSDK_alpha4_3629.log
          49 kB
        6. JavaSDK.log
          51 kB
        7. screenshot-1.png
          screenshot-1.png
          51 kB
        8. test.log
          6 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ritam.sharma Ritam Sharma
              anitha.kuberan Anitha Kuberan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty