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

restartCatalog problematically discards minVisibleSnapshot data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.1
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Storage NYC 2018-07-02
    • Linked BF Score:
      17

      Description

      Restarting the catalog destroys in memory catalog objects (Database, Collection, IndexCatalog[Entry]) and reconstructs them based on the state of the storage engine. However, because the catalog is not versioned, this process loses versioning information, in particular the "minimum visible snapshot" value. That value is used to prevent reading the catalog at too early of a time.

      Typically with rollback, those values are get filled in to correct values when replication recovery plays forward from the stable timestamp. However the restart catalog command does not roll back data, and therefore does not perform any replication recovery.

      This case is only problematic in testing, as the restartCatalog command is test-only.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: