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

Intermittent failure in create partitioned index with num_replica

    XMLWordPrintable

Details

    Description

      Build : 6.5.0-4821

      Sometimes, create partitioned index with replicas are failing with the following error:

      [
      {
      "code": 5000,
      "msg": "GSI CreateIndex() - cause: Fail to create index due to rebalancing, another concurrent request, network partition, or node failed. The operation may have succeed. If not, please retry the operation at later time.",
      "query": "CREATE INDEX idx3 on `beer-sample`(name,city) partition by hash(name) with

      {\"num_partition\":12,\"num_replica\":2}

      "
      }
      ]

      This is not 100% consistent, but can be easily reproduced.

      Steps :
      1. 4 node cluster with indexing service on all 4 nodes
      2. Install beer sample bucket
      3. Optional step : curl localhost:9102/settings/planner?excludeNode=in -u Administrator:password on node 0 (Issue can be seen without this step as well)
      4. Create index :
      CREATE INDEX idx3 on `beer-sample`(name,city) partition by hash(name) with

      {"num_partition":12,"num_replica":2}

      This statement will fail sometimes with the above mentioned error.

      Seeing several failures related to this bug in the functional regression since 6.5.0-4783. Last known good build was 6.5.0-4744.

      There are some planner related changes that went in between 6.5.0-4744 and 6.5.0-4783 that might have caused this regression.
      http://172.23.123.43:8000/getchangelog?product=couchbase-server&fromb=6.5.0-4744&tob=6.5.0-4783

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-36964
          # Subject Branch Project Status CR V

          Activity

            People

              girish.benakappa Girish Benakappa
              mihir.kamdar Mihir Kamdar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty