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

Futurify ShardingMigrationCriticalSection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.8.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2020-10-05

    Description

      ShardingMigrationCriticalSection is using a Notification to provide non blocking functionalities. Updating it to use the new style (promise/future) would allow to simplify the logic in shard_filtering_metadata_refresh methods that are currently using both notifications and futures.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: