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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: 3.4.1, 3.5.1
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-01-23
    • 0

      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.

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

              Created:
              Updated:
              Resolved: