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

Scope ["ScopeName"] already exists exception trying to create a collection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 1

    Description

      CB Server: Enterprise Edition 7.0.0 build 5127

      JAVA SDK: 3.1.5

      TXNJ: 1.1.8-SNAPSHOT

       

      Steps to reproduce:

      1. Create any bucket and then create a custom scope say "customScope"
      2. Create a collection  say "customCollection"
      3. Run a transaction for "createStagedInsertOnPendingTransaction"
      4. Now drop the above collection i.e "customCollection" 
      5. Immediately recreate the collection  with same name "customCollection"
      6. We are getting the error :Scope [customScope] already exists.

       

      Jenkins Job:

      http://sdk.jenkins.couchbase.com/blue/organizations/jenkins/jvm%2Ftransactions%2FTransactionsFITPerformer_SinglePerformer/detail/TransactionsFITPerformer_SinglePerformer/485/tests/

      TestName:

      7.0-stable Vs Java_1.1.8-SNAPSHOT :  replace_atopStagedInsert_whenCollectionHasBeenDeleted_shouldSucceed – com.couchbase.transactions.ATRDeletedTest

       

       

      Note: This issue happens very rarely.

      1. Checked without transactions and it was never replicated. Ran the junit test multiple times with RepeatedTest(100).

       

      2. Its occurring very rare even with the failed transaction.Reproduced only once on local with multiple runs of RepeatedTest(100).but you can see the failure in above jenkins job. 

       

       

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            praneeth.bokka Praneeth Bokka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty