-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 6.0.9, 7.2.0, 7.0.6
-
Component/s: Sharding
-
Catalog and Routing
Starting from SERVER-61004 the vector clock is checkpointed before removing DDL coordinator documents. That change was aimed at ensuring causal consistency with the sharding catalog by persisting the config time so that it could be recovered on step-up.
That's not enough because the only way to ensure causal consistency is to persist the vector clock before exiting the critical section (aka before allowing refreshes to hit again the config server). Considering that, we should probably get rid of the changes introduced by SERVER-61004: persisting the vector clock is not an issue, but it's not useful either in that point of the code.
- depends on
-
SERVER-85534 Checkpoint the vector clock after committing shard collection
- Closed
- related to
-
SERVER-61004 Checkpoint the vector clock before removing DDL coordinator documents
- Closed