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

Skip setMinVisibleForAllCollectionsToOldestOnStartup code during rollback

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 7.0.13, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-06-10, CAR Team 2024-06-24
    • 0

      setMinVisibleForAllCollectionsToOldestOnStartup code is re-executed during rollback. The historical ID tracker is not reset in rollback, instead it deletes entries up to the rollback timestamp. Hence, when attempting to re-execute the supposedly "startup" code and initialising a collection with the oldest timestamp, we hit an invariant. This testing code does not need to re-execute during rollback.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: