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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-03-06

    Description

      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.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: