-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
-
Sharding 2021-03-08
-
0
After the changes on SERVER-54345 we need to wait for a write to reach majority when creating the shard index before continuing, to prevent that a rollback ends up having a sharded collection without the shard key index on the primary shard. However, the ephemeralForTest engine does not implement getLatestOplogTimestamp, causing a consistent failure when running any sharded test when using that engine. We could use something like waitForWriteConcern to wait for majority.
- is caused by
-
SERVER-54345 Check for leftover data on shard collection is using namespace, but there is no namespace in config.chunks
- Closed