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

ShardServerCatalogCacheLoader shouldn't replace error codes with OperationFailed

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: