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

Alternate shard id not created for indexes created post upgrade(offline) to 7.6.0

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      Upgrade from 7.2.1-5928 to 7.6.0-1878

      Steps to repro 

      1. Create cluster with the following cluster: n1ql-index-n1ql-index-kv-kv
      2. Create a bucket and different types of indexes
      3. Do a offline upgrade of the nodes in the order of kv-kv-index-n1ql-index-n1ql. Offline upgrade as in stop couchbase server on the node, upgrade the node and start couchbase server on the upgraded node
      4. Once all the nodes are upgraded create another set of different indexes, ideally indexes created in a fully upgraded cluster should have alternate shard id's

      Index for which alternate shard id not present -hotel048dfa35b9094be4a942a8341a84b407array_index_overall

      Index definition -> 

      CREATE INDEX `hotel048dfa35b9094be4a942a8341a84b407array_index_overall` ON `test_bucket`(`price`,(all (array ((`v`.`ratings`).`Overall`) for `v` in `reviews` end))) WITH { "nodes":[ "172.23.122.220:8091","172.23.122.79:8091" ], "num_replica":1 }

      Logs ->
      test_6 (2).zip

      Attachments

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

        Activity

          People

            yash.dodderi Yash Dodderi
            yash.dodderi Yash Dodderi
            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