-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2023-10-30
-
144
In sbe_plan_cache_does_not_block_range_deletion.js, the call to enableSharding uses `primaryShard: st.shard0.shardname` to set the primary shard to the correct shard. However, the variable name is st.shard0.shardName and so this ends up sending `primaryShard: undefined`, which randomly assigns the dbprimary to a shard.