[SERVER-47463] SetIndexCommitQuorum cmd should be supported only for FCV 4.4+ and if 'enableCommitQuorum' = true. Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 30/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 4.4.0-rc0
Fix Version/s: 4.4.0-rc4

Type: Task Priority: Major - P3
Reporter: Suganthi Mani Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-46557 Commit quorum value can get lost when... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-04-20, Execution Team 2020-05-04
Participants:

 Comments   
Comment by Githook User [ 30/Apr/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-47463 setIndexCommitQuorum returns same errors as createIndexes when commit quorum is not supported
Branch: v4.4
https://github.com/mongodb/mongo/commit/5a943d953d0743a20faf1615a19c33ebabdfd419

Comment by Githook User [ 29/Apr/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-47463 add tests for setIndexCommitQuorum support on standalones and FCV 4.2
Branch: v4.4
https://github.com/mongodb/mongo/commit/7480d4ab77e06ec8b06d1eb05cd8c848c61a3fce

Comment by Benety Goh [ 27/Apr/20 ]

In FCV 4.2, the setIndexCommitQuorum command will fail with an IndexNotFound error because it will fail to locate the corresponding entry in the config.system.indexBuilds collection:

https://github.com/mongodb/mongo/blob/cead747b708c560c8487bf04051f554cceaea334/src/mongo/db/index_builds_coordinator_mongod.cpp#L810

Generated at Thu Feb 08 05:14:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.