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

Refactor DDLs to eliminate explicit calls to set or clear db metadata, instead, rely on ShardServerOpObserver to manage the DSS

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      
Update the code to remove explicit calls to clearDbInfo and setDbInfo for managing database metadata in the DatabaseShardingState (DSS). Instead, rely on ShardServerOpObserver to handle all metadata updates. This change ensures that DSS consistency is maintained through event-driven updates triggered by updates and deletes in `config.shard.databases`.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: