Log accepting reads on the disagg standby only after RS_SECONDARY publishes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The disagg standby still emits `Accepting reads after receiving checkpoint with oplog` before publishing RS_SECONDARY. Commands with maintenanceOk=false (listCollections among them) are refused with NotPrimaryOrSecondary until the member state is SECONDARY, so tests that gate standby reads on that log line can still hit the race that SERVER-131887 narrowed. Emit the log only after the RS_SECONDARY publish and pin the ordering in the unit test.

            Assignee:
            Henri Nikku
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: