-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
38
The _isTopologyChanged() function checks for any oplog entries that are document deletions on config.shards. However, these oplog entries were changed by SERVER-47406 to become an applyOps (so that the topologyTime of some other shard can be updated, much like how chunk versions are updated). This means that this code no longer notices these removeShard events (even when they are supposed to happen), causing test failures. It needs to be updated to look for the "d" op nested inside an appropriate applyOps ops on config.shards (much like in the ConfigServerOpObserver). If these tests run in any multiversion suites then it should probably also retain the existing check for plain "d" ops on config.shards.
- is caused by
-
SERVER-47406 Implement the persistence and tracking of a cluster `topologyTime`
- Closed
- is depended on by
-
SERVER-49359 Enable sharded_backup_restore_add_remove_shard_while_backup.js from noPassthrough suite
- Closed
- is related to
-
SERVER-49358 Blacklist sharded_backup_restore_add_remove_shard_while_backup.js from noPassthrough suite
- Closed