ReadConcernMajorityNotAvailableYet errors from ShardRegistry must be retried

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v5.2, v5.1, v5.0, v4.4
    • Sharding EMEA 2021-11-15, Sharding EMEA 2021-11-29, Sharding EMEA 2021-12-13, Sharding EMEA 2021-12-27
    • 46
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ShardRegistry::reload() must never fail with ReadConcernMajorityNotAvailableYet but rather retry reading from the config server.

      The retries should happen with exponential backoff capped to 30 seconds, in order to don't overwhelm the CSRS but - at the same - not retry after too long.

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: