[SERVER-47464] Prevent SetIndexCommitQuorum from changing commit quorum on to off & vice versa. Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 16/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

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

Issue Links:
Backports
Problem/Incident
Related
is related to SERVER-47517 Secondaries will always try to vote i... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Execution Team 2020-04-20
Participants:
Linked BF Score: 0

 Description   

If commit quorum option is set as 0, the commit quorum is
disabled for that index build. So, we should try preventing user from updating
the quorum option options from 0 to some non-zero value and updating the
quorum option options from some non-zero value to 0 by setCommitQuorum cmd.



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

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-47464 Prevent SetIndexCommitQuorum cmd from changing commit quorum on to off & vice versa.

(cherry picked from commit 4ab404081f02d52285371c5a3b8520429a74e047)
Branch: v4.4
https://github.com/mongodb/mongo/commit/38ac57941963f4c8584acf6096f3fa79488b2702

Comment by Githook User [ 16/Apr/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-47464 Prevent SetIndexCommitQuorum cmd from changing commit quorum on to off & vice versa.
Branch: master
https://github.com/mongodb/mongo/commit/4ab404081f02d52285371c5a3b8520429a74e047

Comment by Githook User [ 16/Apr/20 ]

Author:

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

Message: Revert "SERVER-47464 Prevent SetIndexCommitQuorum cmd from changing commit quorum on to off & vice versa."

This reverts commit dcd3b4b465fed5449866aaf34909b9e2de53a6c6.
Branch: master
https://github.com/mongodb/mongo/commit/abd513345c01e236a95641f205ac0e1ff4444141

Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-47464 Prevent SetIndexCommitQuorum cmd from changing commit quorum on to off & vice versa.
Branch: master
https://github.com/mongodb/mongo/commit/dcd3b4b465fed5449866aaf34909b9e2de53a6c6

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