[SERVER-35796] ChunkSplitStateDriver::_getWritesTracker should uassert and not invariant Created: 25/Jun/18  Updated: 29/Oct/23  Resolved: 28/Jun/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Bug Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-07-02
Participants:

 Description   

There are cases where the ChunkWritesTracker object held by ChunkSplitStateDriver could go correctly out of scope (e.g. splitChunk command and moveChunk), so we should throw a proper error instead of using an invariant.



 Comments   
Comment by Githook User [ 28/Jun/18 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com'}

Message: SERVER-35796 Change invariant in ChunkSplitStateDriver::_getWritesTracker to uassert
Branch: master
https://github.com/mongodb/mongo/commit/7dbed352edc78f63f423dc08ae9ff860197146ab

Generated at Thu Feb 08 04:41:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.