ShardServerCatalogCacheLoader shouldn't replace error codes with OperationFailed

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-04-20
    • 12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The ShardServerCatalogCache loader currently replaces the error code of not ok statuses returned from several reads performed as part of a metadata refresh with OperationFailed - here, here, and here. This can prevent our test infrastructure from automatically retrying if the original error codes were retryable. Instead, the loader should preserve the original error codes, possibly by using uassertStatusOKWithContext() (e.g. here).

            Assignee:
            Gregory Noma
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: