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

Wait for DB works in simulateSuccessfulV1ElectionAt()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.3, 3.5.4
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-03-06
    • Linked BF Score:
      0

      Description

      Normal synchronization between the test thread and the executor doesn't consider the DB worker thread, so we should synchronize it explicitly in tests. Otherwise, a second (very soon) election in test will change the state DB worker expects in _writeLastVoteForMyElection().

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: