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

Create Index on a collection doesn't return a response when the collection is dropped in parallel

    XMLWordPrintable

Details

    Description

      Summary:
      Create Index on collection doesn't return any response when that collection gets dropped in parallel

      Steps to Reproduce:
      1. Create a 2 node cluster -  kv,query,index
      2. Load beer-sample bucket
      3. Create collection1 in _default scope
      4. Create index on this collection

      CREATE INDEX `gsi` ON `beer-sample`.`_default`.`collection1`(`name`);

      5. Drop collection1 while step4 is happening

      Expected results
      step 4 returns a response with appropriate message

      Actual result
      Doesn't return any response

      From indexer.log
      tail indexer.log

      2020-10-21T05:41:29.088+00:00 [Error] feed.DcpGetSeqnos(): MCResponse status=UNKNOWN_COLLECTION, opcode=DCP_GET_SEQNO, opaque=0, msg: {"error":{"context":"Unknown scope or collection in operation"},"manifest_uid":"2"}
      2020-10-21T05:41:29.090+00:00 [Error] Indexer::getCurrentKVTs Error Connecting to KV Cluster MCResponse status=UNKNOWN_COLLECTION, opcode=DCP_GET_SEQNO, opaque=0, msg: {"error":{"context":"Unknown scope or collection in operation"},"manifest_uid":"2"}
      2020-10-21T05:41:29.090+00:00 [Error] Indexer::computeKeyspaceBuildTs Error Fetching BuildTs MCResponse status=UNKNOWN_COLLECTION, opcode=DCP_GET_SEQNO, opaque=0, msg: {"error":{"context":"Unknown scope or collection in operation"},"manifest_uid":"2"}

      Attachments

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

        Activity

          People

            amit.kulkarni Amit Kulkarni
            sumedh.basarkod Sumedh Basarkod (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty