-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 4.4.0, 5.0.0
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
-
CAR Team 2024-04-29, CAR Team 2024-05-13, CAR Team 2024-05-27, CAR Team 2024-06-10, CAR Team 2024-07-22
-
0
-
2
The error is that shard rs1 throws the following error when rs1 receives the updateOne request after the split & moveChunk operation in phase0
Update operation was converted into a distributed transaction because the document being updated would move shards and that transaction failed. :: caused by :: Encountered error from 10.2.0.202:27017 during a transaction :: caused by :: this shard no longer contains chunks for test.Collection0, the collection may have been dropped: generic server error
This is because mongos does not have the updated shard version after the split & moveChunk operation and it must be forcefully refreshed in the genny workload (as done in jstests using the flushRoutersAndRefreshShardMetadata cmd).