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

Unclean shutdown while dropping local.* collection and indexes can make the catalog inconsistent

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.1, 7.2.0-rc0, 7.0.5, 6.0.13, 5.0.24
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v7.1, v7.0, v6.0, v5.0, v4.4
    • Execution EMEA Team 2023-10-02
    • 144

      Writes to the local namespace use logged tables since they are not replicated. In a replica set writes to the catalog follow the WT timestamp model to support point-in-time reads.

      If a local collection is dropped, it is thus dropped immediately without going through the ident reaper.

      As a result, if a crash were to happen after dropping an index table AND before the catalog has checkpointed, the server will crash in the same fashion as SERVER-79245.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: