Do not alter sharding's index catalog in-memory state while in recovery mode

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-69573 a new oplog entry was added to handle persisted and in-memory state for the sharding's index catalog. As part of that work the in-memory state is changed in an observer. If the node is in a recovery mode, we already have a mechanism to restore the in-memory state to a consistent one, so, executing these operations in the observer seems unnecessary.

      We could use the same mechanism as the recoverable critical section to prevent doing the in-memory state changes in recovery mode.

              Assignee:
              Marcos José Grillo Ramirez
              Reporter:
              Marcos José Grillo Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: