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

CatalogCache::getCollectionRoutingInfo may throw on thread interruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.4, 3.5.6
    • 3.4.5, 3.5.7
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Sharding 2017-05-29
    • 0

    Description

      As part of the changes to make collection metadata refresh asynchronous, it is possible that the CatalogCache::getCollectionRoutingInfo call can throw on interruption.

      When MetadataManager::finishRecovery gets this exception, it will unwind through the scoped guard block and will propagate the exception to the balancer main thread, which is not prepared to handle it.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: