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

ReshardingRecipientService::_fetchBuildIndexMetrics() must not throw

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Brett Nawrocki
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: