[SERVER-47895] Change invariant in makeCommitChunkTransactionCommand to uassert Created: 01/May/20  Updated: 29/Oct/23  Resolved: 08/May/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.4.0-rc5

Type: Bug Priority: Major - P3
Reporter: Alexander Taskov (Inactive) Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-44034 [refine shard key] Remove refineColle... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-05-18
Participants:
Linked BF Score: 26

 Description   

The invariant inĀ makeCommitChunkTransactionCommand that checks if an FCV operation is not in flight can be invalid since the FCV operation may have started while a migration is in progress. This invariant can be changed to a uassert similarly other parts of this code path.



 Comments   
Comment by Githook User [ 08/May/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-47895 Use uassert in makeCommitChunkTransactionCommand() when checking whether an upgrade or downgrade is in progress instead of invariant
Branch: v4.4
https://github.com/mongodb/mongo/commit/9aa6c5bf7caf1488d81e009b1fbb89928136b0bb

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