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

Make thread pool for submitting range deletion tasks a decoration on ServiceContext

    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-05-31
    • 141

      This would make it possible to shutdown and restart the migrationutil::getMigrationUtilExecutor() thread pool between C++ test cases. RangeDeleterTest::tearDown() in range_deletion_util_test.cpp is currently problematic because it doesn't prevent a task from starting to run while the ServiceContext is being destroyed, nor does it prevent a task from starting to run while the (static storage duration) logv2 subsystem is being destroyed.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: