Review the current initialization order of the ReplicaSetAwareServices

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-11-24, CAR Team 2025-12-08
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-112658 migrated existing logic to enable/disable sharding subsystem to ShardingInitializationMongoD class, a ReplicaSetAwareService that sets no guarantees in the execution order of its onStepUp()/opStepDown() against other instances. Although this is OK today, it leaves the door to potential future regressions.

      The objective of this ticket is to revisit the set of existing ReplicaSetAwareServices and sets the proper prerequisites that could prevent such a scenario.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: