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

Require all internal server data cleanup be completed before allowing transition to upgraded for replica sets

    • Replication
    • Fully Compatible
    • Repl 2023-03-06, Repl 2023-03-20

      Same as SERVER-73778, but for replica sets.

      Before the replica set starts the internal data cleanup step, it should persist a isCleaningServerMetadata : true field to the FCV document, and then remove this when transitioning to downgraded.

      We should also check at the beginning of FCV upgrade for this field and fail the upgrade if it exists.

      For testing, we should make sure to test that if we fail with either a retryable error or ManualInterventionRequired during internal metadata cleanup, we fail to transition to upgrading.

      When entering the CleaningServerMetadata phase we should add a log similar to the ones added in SERVER-67443 and file an Atlas log ingestion request for it

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: