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

CollectionBulkLoader::_releaseResources() should ensure there is a Client available

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.2, 3.5.2
    • 3.4.1, 3.5.1
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-01-23
    • 0

    Description

      A global Client is required in order to clean up index creation (MultiIndexBlock). _releaseResources() should ensure there is a Client available by calling Client::initThreadIfNotAlready().

      _releaseResources() is usually run as a scheduled task on the task runner. this is not the case when it is run during CollectionBulkLoader's destruction.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: