BugZero found this defect 31 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/18/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
Currently we have in a migration observer an assertion to prevent writes if there is a move primary in progress. This does not happen for sharded collections because they are not being moved, but considering the way to move unsplittable unsharded collections is through moveCollection, and SERVER-83925 made the movePrimary coordinator should stop cloning unsplittable collections, we should also prevent unsplittable collection writes to throw if there is a concurrent movePrimary We should also increase testing as part of this ticket, by either checking the current FSM implementation of movePrimary and try to make sure that writes for unsplittable collection will not fail while there is a concurrent movePrimary, or add specific tests for this.