-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
v8.0
-
CAR Team 2024-09-30, CAR Team 2024-10-14, CAR Team 2024-10-28, CAR Team 2024-11-11, CAR Team 2024-11-25, CAR Team 2024-12-23, CAR Team 2025-01-06
-
1
SERVER-89285 recently introduced a local catalog view reload in one of the ReplicaSetAwareService::onInitialDataAvailable hooks. However, other onInitialDataAvailable hooks might depend on the the local catalog being already reloaded (e.g. ShardingRecoveryService), but there is no ordering enforcement in how we call the hooks of each registered ReplicaSetAwareService.
We should audit if this is an actual issue, and also implement a mechanism to prevent this kind of dependency issues being inadvertently introduced in the future.
We should also check if there might be other dependencies between hooks other than the local catalog.
- is depended on by
-
SERVER-89285 Reload views when onInitialDataAvailable happens
- Blocked
-
SERVER-78615 Poor view drop performance leads to replication lag
- Blocked
- related to
-
SERVER-89285 Reload views when onInitialDataAvailable happens
- Blocked