Details
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.