Profile collection entries can be removed before/during reads in resharding_oplog_fetcher_repl_lag.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      resharding_oplog_fetcher_repl_lag.js makes assertions on the count of entries in the profile collection, but the profile collection is capped. This can lead to assertions failing because the expected counts are off, or can lead to a cursor erroring if the deletes happen while a cursor is open. We should either ensure the collection won't be truncated in the test, or make slightly different assertions.

            Assignee:
            Brett Nawrocki
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: