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

ShardServerCatalogCacheLoader shouldn't replace error codes with OperationFailed

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

      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@mongodb.com Gregory Noma
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: