Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9735

Mirroring tests enabled 80% of the time instead of 20%

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage Engines - 2022-08-22

      This code in config_mirrors() is the issue:

          explicit_mirror = config_explicit(NULL, "runs.mirror");
          if (!explicit_mirror && mmrand(NULL, 1, 10) < 3)
              return;
          config_off_all("runs.mirror");
      

      This is returning 20% of the time and going on to enable mirroring 80% of the time. This should be the other way around.

            Assignee:
            will.korteland@mongodb.com Will Korteland
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: