Info
add_remove_shards_killop.js continuously execute addShard and removeShard and randomly kills some of them. This test is currently running in some suites that have a hook running transitionToDedicated and transitionFromDedicated in the background, so the following scenario could happen:
transitionToDedicated starts draining the config.system.sessions collection
The destination shard of the migration is removed and added with the same id
This makes the dropCollection in addShard to drop the recently migrated collection, causing a consistency issue. This is not a problem that users would encounter, it is the result of rapidly removing and adding the same shard with the same id, so we should blacklist the test from suites that perform add/remove shard in the background.
Top User Comments
xgen-internal-githook commented on Mon, 8 Jul 2024 16:44:00 +0000:
Author:
{'name': 'Marcos Grillo', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}
Message: SERVER-92143 Blacklist add_remove_shards_killop.js test from config transition suites (#24404)
GitOrigin-RevId: f50f716e9ed9af8a01d64ae370d19b5d22924f8a
Branch: v8.0
https://github.com/mongodb/mongo/commit/fbd0310fb3f25dd3bfc75e257c3f2055714122e2
xgen-internal-githook commented on Fri, 5 Jul 2024 19:51:21 +0000:
Author:
{'name': 'Marcos Grillo', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}
Message: SERVER-92143 Blacklist add_remove_shards_killop.js test from config transition suites (#24327)
GitOrigin-RevId: 7829d7563975486ec23c86a2c0609199a626ca3f
Branch: master
https://github.com/mongodb/mongo/commit/47b77fdf673954c79d106cefd2cc932572a1143e