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

[FP of MB-46728 to Neo] - Rebalance failed for index with Panic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • secondary-index
    • Enterprise Edition 6.6.2 build 9564
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Rebalance failed when 2 out of 3 index node failed over in below scenario.

      Steps to reproduce:-

      1. Create 6 nodes cluster (3 KV, 3 index + n1ql)
      2. load travel-sample bucket
      3. Create 2 partitioned indexes with 9 partition each.
      4. Stop Couchbase Server on 2 KV and 2 N1QL + Index node
      5. Failover all nodes simultaneously
      6. Rebalance the cluster.

       

      Rebalance failure

      Service 'indexer' exited with status 2. Restarting. Messages: { 852 cfb6f5a3b963 23 0 23} { 853 2d0b66f786ad 32 0 32} { 854 af7c3ab83283 0 0 0} { 855 561432217b21 0 0 0} { 856 d4ceffdb0c80 0 0 0} goroutine 124152 [running]: panic(0xf8cce0, 0xc4383999f0) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:500 +0x1a1 github.com/couchbase/indexing/secondary/common.CrashOnError(0x1acef00, 0xc4383999f0) goproj/src/github.com/couchbase/indexing/secondary/common/util.go:409 +0x5c github.com/couchbase/indexing/secondary/indexer.(*Rebalancer).tokenMergeOrReady.func1(0xc42f032b00, 0xc423cf8c14, 0x24, 0xc423cea800, 0x20, 0x0, 0x0, 0xc423cea820, 0x20, 0xc423cea840, ...) goproj/src/github.com/couchbase/indexing/secondary/indexer/rebalancer.go:1094 +0x3b0 created by github.com/couchbase/indexing/secondary/indexer.(*Rebalancer).tokenMergeOrReady goproj/src/github.com/couchbase/indexing/secondary/indexer/rebalancer.go:1118 +0x2aa

      Attachments

        Issue Links

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

          Activity

            People

              varun.velamuri Varun Velamuri
              varun.velamuri Varun Velamuri
              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