The command handler for _shardsvrCheckMetadataConsistencySecondaryParticipant should be marked as "not maintenance OK" to prevent its execution on not-yet recovered nodes.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-08-03
    • 200
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-129218 introduced the new read only _shardsvrCheckMetadataConsistencySecondaryParticipant command, whose handler class exposes a default implementation for the maintenanceOK() method. This may be problematic when a request reaches a node that is currently restarting: instead of being rejected with a NotPrimaryOrSecondary error, its execution continues, generating potentially undefined behavior.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: