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

Interleaved scopes could interfere

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.0.0
    • analytics
    • Untriaged
    • 0
    • Unknown

    Description

      The issue could be produced as follows:

      1-

       

      CREATE SCOPE test.test;

      2-

      USE test.test;
      CREATE COLLECTION MyCollection PRIMARY KEY (id:int); 

      3-

      CREATE SCOPE test; 

      4-

      USE test;
      CREATE COLLECTION MyCollection PRIMARY KEY (id:int); 

      5-

      DROP SCOPE test;
      -- After this, files of both scopes "test" and "test.test" are deleted
      -- Metadata datasets still hold information about "test.test" as if it exists

      6- 

      DROP SCOPE test.test;
      -- This throws an error:
      -- Resource does not exist for storage/partition_3/test/^test/MyCollection/0/MyCollection 

       

      Attachments

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

        Activity

          People

            wail.alkowaileet Wail Alkowaileet
            wail.alkowaileet Wail Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty