-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
The behaviour of the split chunk function in src/mongo/s/commands/cluster_split_cmd.cpp is changed in SERVER-97411.
Some test were adjusted to support different behaviours for versions before and after 8.1 to work with multiversion tests:
jstests/sharding/basic_split.js jstests/sharding/compound_hashed_shard_key_sharding_cmds.js jstests/sharding/key_string.js
The featureCompatibilityVersion is used to validate different return results of
adminCommand({split: "user" ...
like
const fcvDoc = configDB.adminCommand({getParameter: 1, featureCompatibilityVersion: 1}); if (MongoRunner.compareBinVersions(fcvDoc.featureCompatibilityVersion.version, "8.1") >= 0) { ...
It can be removed after versions below 8.1 are not used in multiversion tests any more.
- related to
-
SERVER-97411 Make cluster split check idempotent
- Closed