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

Indexer swap rebalance failed when enable_shard_affinity is turned on post indexes creation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 7.6.0
    • 7.6.0
    • secondary-index
    • 7.6.0-1616

    Description

      1. Create a 3KV, 2GSI,N1QL node cluster.
      2. Create a couchstore bucket, 10 collection, load data, build GSI indexes.
      3. Change indexer setting:

        curl -k -u 'couchbase-cloud-admin':'nACvCf8P@khY475FYp7ezJ@5' https://svc-qi-node-005.pnkzlblxm4ilxlw5.sandbox.nonprod-project-avengers.com:19102/settings -X POST -d '{"indexer.settings.enable_shard_affinity":true}'
        OK
        

      4. Do a swap rebalance by changing the disk size from Capella. Index swap rebalance failed:

      Service 'index' exited with status 2. Restarting. Messages:
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).insertSecIndex(0xc057712000, {0xc08e4821e0, 0x2a, 0x30}, {0xc0ec90a180, 0x12, 0x18}, 0x1, 0x0, 0xc105a7b880)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:1123 +0x597
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).insert(0xc057712000, {0xc08e4821e0?, 0x0?, 0x2?}, {0xc0ec90a180?, 0x12?, 0x18?}, 0x1?, 0x1?, 0xc105a7b880)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:1052 +0xb9
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).handleCommandsWorker(0xc057712000, 0x1)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:925 +0x418
      created by github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).initWriters
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:4250 +0x3cd
      

      Attachments

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

        Activity

          People

            ritesh.agarwal Ritesh Agarwal
            ritesh.agarwal Ritesh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty