summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2018-09-28 16:12:10 -0400
committerJason Carey <jcarey@argv.me>2018-10-01 14:52:39 -0400
commitb757d87fc622d44b16013e2722832a655d7ca052 (patch)
treeafb9fa6fcb7684f6d449f3cbf0d1659e26106c66 /src/mongo/s/commands
parentf9ae642a5cab2be1c4592d67f722b849b5151739 (diff)
downloadmongo-b757d87fc622d44b16013e2722832a655d7ca052.tar.gz
SERVER-37358 dont early return from ARS
As part of SERVER-35689, Replica set targeting was made async (but with blocking in the ARS). But when we block on the returned future, we do so via an opctx which isn't marked uninterruptible. This means that opctx killing, or timing out, during scheduling leaves dangling references to the ARS and the baton in the ARS destructor. This in turn causes the invariant inside the baton to trigger. The fix for now is to make that an uninterruptible wait
Diffstat (limited to 'src/mongo/s/commands')
0 files changed, 0 insertions, 0 deletions