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

Address orphanCleanupDelaySecs in Tests More Robustly

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • 0
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      By default, we will set the orphanCleanupDelaySecs to 1 second in tests. In suites with chunk migrations enabled, this can cause queries on secondaries to miss documents and so orphanCleanupDelaySecs should be increased in these suites.

      We've had at least two tickets attempt to do this, but the changes either end up getting lost as suites are updated, or perhaps missed when new suites are added, see: SERVER-90217, SERVER-95713.

      Something less error prone should be done to address this. For example, we could change the default in the python fixtures to be higher in cases where chunk migrations occur, instead of relying on the suites setting these values.

            Assignee:
            Unassigned Unassigned
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: