Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85845

Remove vector clock checkpoint before deleting DDL coordinator documents

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: