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

Increase slaveDelay in repl10.js test

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.6, 3.5.7
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-05-08
    • Linked BF Score:
      0

      Description

      repl10.js does a write to a master then expects a slaveDelayed slave to not see the write. This is fundamentally racy, and we've had a build failure where the test took too long and the slave did in fact replicate the write before the check that it didn't have it. It's probably sufficient to just increase the slavedelay on the slave from 10 seconds to 30 and call it a day.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: