[SERVER-82610] FCV downgrade index build blocking flag not unset on interrupt Created: 31/Oct/23  Updated: 22/Nov/23  Resolved: 22/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2, 7.1.2

Type: Bug Priority: Major - P3
Reporter: Yujin Kang Park Assignee: Yujin Kang Park
Resolution: Fixed Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-77387 FCV Down+Index build results in crash... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2
Sprint: CAR Team 2023-11-27
Participants:
Linked BF Score: 120

 Description   

During FCV downgrade we block new index builds and abort existing ones. As part of blocking index builds, we set a flag. Unsetting the flag to unblock index builds is deferred to after the downgrade. If the setFCV operation is interrupted midway, and then retried, we hit an invariant that the flag should not already be set.

In case of operation interruption, this flag should be unset.



 Comments   
Comment by Githook User [ 22/Nov/23 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-82610 Fix setNewIndexBuildsBlocked not unset on setFCV interrupt
Branch: v7.1
https://github.com/mongodb/mongo/commit/82269b093df41ffa91955b892a1679e3e61ae6e4

Comment by Githook User [ 22/Nov/23 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-82610 Fix setNewIndexBuildsBlocked not unset on setFCV interrupt
Branch: v7.2
https://github.com/mongodb/mongo/commit/2b0d6ecb67b8c6c888922633d24fc16217ef2d4a

Comment by Githook User [ 17/Nov/23 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-82610 Fix setNewIndexBuildsBlocked not unset on setFCV interrupt
Branch: master
https://github.com/mongodb/mongo/commit/8f10a6958e88527cfcd6221eb426a9509e64680f

Generated at Thu Feb 08 06:49:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.