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

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

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

      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.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: