ReshardingRecipientService::_fetchBuildIndexMetrics() must not throw

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 7.3.3, 8.0.0-rc5
    • Affects Version/s: 8.1.0-rc0, 7.3.3, 8.0.0-rc5
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.3
    • 133
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ReshardingRecipientService::_fetchBuildIndexMetrics() will attempt to acquire the IS lock on the temporary resharding collection, which can throw if the operation context has been interrupted. This is called as part of reporting metrics for currentOp, which is marked noexcept. We should ensure no exceptions can escape reportForCurrentOp().

              Assignee:
              Brett Nawrocki
              Reporter:
              Brett Nawrocki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: