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

Fix the race between simulateSuccessfulV1Voting and catch-up in unit test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29
    • 0

    Description

      simulateSuccessfulV1Voting runs until the node enters catch-up mode, but if catch-up is scheduled (using onEvent()) by the DB worker thread after the voting finishes, simulateSuccessfulV1Voting may black hole the replSetGetStatus requests.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: