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

cbindex list command is returning indexes from only one of the two index nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • Centos
    • Untriaged
    • Unknown

    Description

      Cluster:
      141: Data
      142: Data
      143: Data
      144: Index
      145: Index + N1QL

      Steps:
      1. Create 3 buckets: default, bucket0, standardBucket0; Load 100800 docs in each bucket
      2. Create and build 9 indexes in all 3 buckets (index_name_1 to index_name_9)
      3. Create 2 more indexes job_title and join_yr on each bucket in deferred mode
      4. Build above indexes created in #3
      5. While build of these 6 indexes is in progress, kill projector process on node 172.23.121.141 KV node

      Now one of the indexes: bucket0:employee6a4c28b2c71547c0aa6db6b1fef0188ajoin_yr is stuck in status "Building".

      getIndexStatus API returns all 33 indexes in the cluster however cbindex command is only returning indexes from 144 index node and not from 145 index node.

      curl -u Administrator:password 172.23.121.144:9102/getIndexStatus | json_pp : Returns 33 indexes

      However:
      ./cbindex -server 172.23.121.144:8091 -type list
      OR
      ./cbindex -server 172.23.121.145:8091 -type list

      returns only the same set of 16 indexes from node 144 but 17 indexes from node 145 are not returned.

      Outputs of both commands attached.

      Related bug: MB-15807

      Logs:
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/addIndex_July28/collectinfo-2015-07-28T083606-ns_1%40172.23.121.141.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/addIndex_July28/collectinfo-2015-07-28T083606-ns_1%40172.23.121.142.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/addIndex_July28/collectinfo-2015-07-28T083606-ns_1%40172.23.121.143.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/addIndex_July28/collectinfo-2015-07-28T083606-ns_1%40172.23.121.144.zip
      https://s3-ap-southeast-1.amazonaws.com/indexing-test/addIndex_July28/collectinfo-2015-07-28T083606-ns_1%40172.23.121.145.zip

      Attachments

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

        Activity

          People

            prataprc Pratap Chakravarthy (Inactive)
            prathibha Prathibha Bisarahalli (Inactive)
            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