Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0
-
Untriaged
-
0
-
Unknown
Description
Cluster config - kv-kv-index-index-n1ql-n1ql
Upgrade from 7.2.1-5928 to 7.6.0-1755
Steps to repro
- Create bucket with named scopes and collections and load some data
- Create different types of indexes
- Rebalance out an indexer node upgrade it (install in provisoned profile) and add it back to cluster
- Repeat step 3 alternately between index and n1ql once those are upgraded upgrade the kv nodes. The upgrade is done in provisioned profile only for indexing nodes
- Create indexes post upgrading of all the nodes in the cluster
- Post all nodes are upgraded it is observed that alternate shard id's for the indexes created in step 5 are missing
Sample index metadata with missing alternate shard id
{ "defnId": 14582871656700988136, "instId": 14801300697344080784, "name": "#primary_AHRTHBSYMD", "bucket": "test_bucket", "scope": "test_scope_1", "collection": "test_collection_1", "isPrimary": true, "indexType": "plasma", "status": "Ready", "definition": "CREATE PRIMARY INDEX `#primary_AHRTHBSYMD` ON `test_bucket`.`test_scope_1`.`test_collection_1` WITH { \"nodes\":[ \"192.168.64.28:8091\",\"192.168.64.29:8091\" ], \"num_replica\":1 }", "hosts": [ "192.168.64.29:8091" ], "completion": 100, "progress": 100, "scheduled": false, "partitioned": false, "numPartition": 1, "partitionMap": { "192.168.64.29:8091": [ 0 ] }, "numReplica": 1, "indexName": "#primary_AHRTHBSYMD", "replicaId": 0, "stale": false, "lastScanTime": "NA", "alternateShardIds": {} }, |
Indexer metadata response file post upgrading all nodes
Logs ->