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

increase number of docs to insert in oplog_sampling.js

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL
    • v6.3, v6.0, v5.0
    • Execution Team 2023-02-20
    • 13

      This oplog sampling test inserts just enough documents to clear the sampling threshold of 2000. However, the oplog stones logic relies on the size storer to decide whether to scan or sample the oplog. Occasionally, the test fails to select the sampling logic due to a small difference (we've seen values of 1990 when the actual collection count should be 2020) between the size storer count and the actual collection count.

      We can make this test run more robustly by choosing a higher number of documents to insert to clear the scanning threshold comfortably even when the size storer is not 100% accurate.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: