SERVER-138184ClosedWorks as Designed

Use stdx::thread in place of std::async in IntentRegistry::killConflictingOperations

h4. Background {{IntentRegistry::killConflictingOperations}} (src/mongo/db/repl/intent_registry.cpp) runs the kill-and-drain work on a {{std::async(std::launch::async, ...)}} thread and returns a {{{}std::future<ReplicationStateTransitionGuard>{}}}. Evaluate replacing {{std::async}} with our internal library {{{}stdx::thread{}}}, and decide whether the differences in behavior are acceptable.   h4. Proposed change (to be evaluated) Replace {{std::async}} with a {{stdx::thread}} plus a {

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.