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

MissingTopic handling during indexer recovery

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • None
    • Untriaged
    • MacOSX 64-bit
    • Unknown

    Description

      1) Create Index 1
      2) Create Index 2 (so this index is build on INIT_STREAM)
      3) Try to kill projector while index is in CATCH_UP

      We expect to see topicMissing error from projector, but we also expect that MTR will be issued on INIT_STREAM. The index is also marked as ACTIVE as a result.

      08:42:56.151554 [ERROR] KVSender::addIndexForExistingBucket
      Error Received projector.topicMissing from 192.168.1.25:10000
      08:42:58.245140 [ERROR] KVSender::sendRestartVbuckets
      Unexpected Error During ShutdownVbuckets Request for Projector
      192.168.1.25:10000 Topic INIT_STREAM_TOPIC_41:4d:91:d2:b7:38:a9:d9. Err
      projector.topicMissing.
      08:42:58.246191 [FATAL] KVSender::sendRestartVbuckets
      Unexpected Error During Restart Vbuckets Request for Projector
      192.168.1.25:10000 Topic INIT_STREAM_TOPIC_41:4d:91:d2:b7:38:a9:d9. Err
      projector.topicMissing.
      08:42:58.246198 [ERROR] KVSender::restartVbuckets
      Error Received projector.topicMissing from 192.168.1.25:10000
      08:43:06.246323 [INFO] Timekeeper::sendRestartMsg Received KV Repair Msg
      For Stream INIT_STREAM Bucket default. Attempting Stream Repair.
      08:43:11.230079 [ERROR] KVSender::addIndexForExistingBucket
      Error Received projector.topicMissing

      08:43:11.230151 [ERROR] Indexer::handleInitialBuildDone Stream &{{21 0 0
      0xc20ebca330 }} Bucket %!v(MISSING)
      Error from Projector %!v(MISSING)

      ...
      InstanceId: 12354493637814908913 Name: name1 Bucket: default State:
      INDEX_STATE_ACTIVE Stream: MAINT_STREAM

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            jliang John Liang
            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