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

allow drop index during indexer recovery

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.5.0
    • 6.5.0
    • secondary-index
    • Untriaged
    • No

    Description

      right now, drop index is explicitly blocked during recovery.

      Attachments

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

        Activity

          Build couchbase-server-6.5.0-4095 contains indexing commit 62b054b with commit message:
          MB-34186 modify TestBuildDeferredAnotherBuilding

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4095 contains indexing commit 62b054b with commit message: MB-34186 modify TestBuildDeferredAnotherBuilding

          Build couchbase-server-6.5.0-4095 contains indexing commit d2d573b with commit message:
          MB-34186 allow drop index during indexer recovery

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4095 contains indexing commit d2d573b with commit message: MB-34186 allow drop index during indexer recovery

          During rollback/recovery, could able to drop indexes and verified this from the below log messages:

          indexer.log:2019-11-11T11:14:13.094-08:00 [Info] StorageMgr::handleRollback rollbackTs is bucket: default, vbuckets: 1024 Crc64: 0 snapType NO_SNAP -
          indexer.log:2019-11-11T11:15:26.363-08:00 [Info] Indexer::handleDropIndex - IndexInstId 10700379306041426216
          indexer.log:2019-11-11T11:15:26.402-08:00 [Info] StorageMgr::handleRollback Rollback Index: 5398323900357701866 PartitionId: 0 SliceId: 0 To Snapshot SnapshotInfo: count:1786446 committed:false
          indexer.log:2019-11-11T11:15:26.449-08:00 [Info] StorageMgr::handleRollback Rollback Index: 10700379306041426216 PartitionId: 0 SliceId: 0 To Snapshot SnapshotInfo: count:1783602 committed:false

          girish.benakappa Girish Benakappa added a comment - During rollback/recovery, could able to drop indexes and verified this from the below log messages: indexer.log:2019-11-11T11:14:13.094-08:00 [Info] StorageMgr::handleRollback rollbackTs is bucket: default, vbuckets: 1024 Crc64: 0 snapType NO_SNAP - indexer.log:2019-11-11T11:15:26.363-08:00 [Info] Indexer::handleDropIndex - IndexInstId 10700379306041426216 indexer.log:2019-11-11T11:15:26.402-08:00 [Info] StorageMgr::handleRollback Rollback Index: 5398323900357701866 PartitionId: 0 SliceId: 0 To Snapshot SnapshotInfo: count:1786446 committed:false indexer.log:2019-11-11T11:15:26.449-08:00 [Info] StorageMgr::handleRollback Rollback Index: 10700379306041426216 PartitionId: 0 SliceId: 0 To Snapshot SnapshotInfo: count:1783602 committed:false

          Verified with 6.5.0-4783

          girish.benakappa Girish Benakappa added a comment - Verified with 6.5.0-4783

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty