Increase max retries to 100 for authoritative refresh

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-05-11
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-123628 set a limit of 10 retries for the authoritative refresh path.

       

      However, concurrency tests with a high number of threads (for example timeseries_create_indexes.js or timeseries_raw_data_operations.js), can occasionally reach this limit of retries when joining ongoing refreshes ("ongoing collection critical section or concurrent refresh").

       

      Note the non-authoritative path has unbounded retries, however tests show is also reaches 10+ retries on those tests.

       

      Increase the number of retries to 100, which we don't expect to reach.

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

              Created:
              Updated:
              Resolved: