-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: Backlog
-
Component/s: Sharding
-
Fully Compatible
-
ALL
Create collection coordinator explicitly wait for majority write concern after creating the shard key index.
The problem is that if the index was already created no write will be performed , in this case the last op time on the current client could be a very old op time, associated with the last write performed by a previous task scheduled on that thead.
In fact the client associated with a thread of the POS pool is instantiated on thread creation and is reused by different tasks.
So the solution would be to properly set the last op time before to wait it to be majority written.
- is depended on by
-
SERVER-54905 Implement FSMs hierarchy testing concurrent DLL/CRUD/FCV operations
- Closed
-
SERVER-56555 Enable drop_collection_sharded.js FSM workload in stepdown suites
- Closed