Skip to content

Commit 37db508

Browse files
PolPinolMongoDB Bot
authored andcommitted
SERVER-100447 Temporary ban tests that add a replica set with existing dbs in a sharded cluster (#31996)
GitOrigin-RevId: b40db52
1 parent e0ac218 commit 37db508

File tree

7 files changed

+33
-4
lines changed

7 files changed

+33
-4
lines changed

etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ buildvariants:
224224
test_flags: >-
225225
--runAllFeatureFlagTests
226226
--additionalFeatureFlags "featureFlagShardAuthoritativeDbMetadata"
227-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment,multiversion_incompatible
227+
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment,multiversion_incompatible,incompatible_with_authoritative_shards
228228
tasks:
229229
- name: search_end_to_end_sharded_cluster !.multiversion
230230
- name: search_end_to_end_single_node !.multiversion

jstests/noPassthroughWithMongod/sharding/moveprimary-replset.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
// This test ensures that data we add on a replica set is still accessible via mongos when we add it
22
// as a shard. Then it makes sure that we can move the primary for this unsharded database to
33
// another shard that we add later, and after the move the data is still accessible.
4-
// @tags: [requires_replication, requires_sharding]
4+
// @tags: [
5+
// requires_replication,
6+
// requires_sharding,
7+
// # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
8+
// incompatible_with_authoritative_shards,
9+
// ]
10+
511
import {ShardingTest} from "jstests/libs/shardingtest.js";
612
import {
713
moveDatabaseAndUnshardedColls

jstests/sharding/addshard1.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* @tags: [
3+
* # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
4+
* incompatible_with_authoritative_shards,
5+
* ]
6+
*/
7+
18
import {ReplSetTest} from "jstests/libs/replsettest.js";
29
import {ShardingTest} from "jstests/libs/shardingtest.js";
310
import {findChunksUtil} from "jstests/sharding/libs/find_chunks_util.js";

jstests/sharding/convert_to_and_from_sharded.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
/**
22
* Test that a replica set member can process basic CRUD and DDL operations while switching from
33
* being a shardsvr and back to non shardsvr.
4-
* @tags: [requires_persistence]
4+
* @tags: [
5+
* requires_persistence,
6+
* # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
7+
* incompatible_with_authoritative_shards,
8+
* ]
59
*/
10+
611
/* global retryOnRetryableError */
712
import {Thread} from "jstests/libs/parallelTester.js";
813
import {ReplSetTest} from "jstests/libs/replsettest.js";
@@ -418,4 +423,4 @@ priConn = replShard.getPrimary();
418423
checkBasicCRUD((op) => op(priConn.getDB(dbName)[unshardedColl]), _id);
419424
checkBasicCRUD((op) => op(priConn.getDB(dbName)[shardedColl]), _id);
420425
checkDDLOps((op) => op(priConn.getDB("DDL"), priConn.getDB("admin")));
421-
replShard.stopSet();
426+
replShard.stopSet();

jstests/sharding/ddl_commits_trigger_placement_op_entries.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @tags: [
66
* does_not_support_stepdowns,
77
* requires_fcv_70,
8+
* # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
9+
* incompatible_with_authoritative_shards,
810
* ]
911
*/
1012
import {DiscoverTopology} from "jstests/libs/discover_topology.js";

jstests/sharding/set_user_write_block_mode.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*
66
* @tags: [
77
* requires_fcv_60,
8+
* # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
9+
* incompatible_with_authoritative_shards,
810
* ]
911
*/
1012

jstests/sharding/store_historical_placement_data.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* @tags: [
3+
* # TODO (SERVER-100403): Enable this once addShard registers dbs in the shard-local catalog
4+
* incompatible_with_authoritative_shards,
5+
* ]
6+
*/
7+
18
import {FeatureFlagUtil} from "jstests/libs/feature_flag_util.js";
29
import {ReplSetTest} from "jstests/libs/replsettest.js";
310
import {ShardingTest} from "jstests/libs/shardingtest.js";

0 commit comments

Comments
 (0)