Tighten checks for number of bucket reopenings in jstests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 9.0.0-rc0
    • Component/s: None
    • None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A few jstests assert that after a timeseries write, there was exactly one attempt to reopen a bucket. In suites with "non-canonical buckets" (e.g. with chunk migrations) that check is relaxed to "one or more" due to retries.

       

      However due to SERVER-122949, during viewless timeseries upgrade/downgrade we may not find a bucket to reopen. For this reason we have relaxed the check to just a sanity check that the count doesn't go down.

       

      After viewless timeseries is released we can strengthen those checks again.

      See TODOs associated to this ticket for affected tests.

            Assignee:
            Unassigned
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: