no_disconnect_on_stepdown.js should enable a failpoint to skip PrimaryOnlyService instance rebuild

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.8.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-10-05
    • 18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Each PrimaryOnlyService rebuilds its instances on stepup by doing a read against the state machine collection via DBDirectClient using an opCtx that is interruptible on stepdown. So it is expected that the read operation is interrupted when this test forces the primary to step down. So this test should use a failpoint to skip PrimaryOnlyService instance rebuild.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: