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

Futurify ShardingMigrationCriticalSection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-10-05

      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.

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

              Created:
              Updated:
              Resolved: