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

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: