-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0
-
Cluster Scalability 2024-07-08
-
200
The analyzeShardKey command by default uses readConcern: "secondaryPreferred". Currently, the analyzeShardKey tests all don't specify writeConcern so they just use the default w: "majority". This covers the two nodes that each shard in those tests have. However, SPM-3489 changed w: majority to only wait for the opTime of that write to be persisted. To wait for the opTime of that write to be applied, w: <n> must be used. For this reason, all of the analyzeShardKey tests should use w: all for every write that they do.
- is duplicated by
-
SERVER-91791 AwaitReplication after removing records in cardinality_and_frequency_basic.js
- Closed