diff options
author | Matthew Russotto <matthew.russotto@mongodb.com> | 2023-05-10 14:24:57 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-16 22:01:20 +0000 |
commit | f8937c0ae6a1b6afd3d0e4e4dae2afca53cf7390 (patch) | |
tree | de5d13518331e8c2411ff1e50ed3b07381126810 /src/mongo/db/query/plan_insert_listener.cpp | |
parent | 00635530f8dd4d98d765de4c215a495c49036d16 (diff) | |
download | mongo-f8937c0ae6a1b6afd3d0e4e4dae2afca53cf7390.tar.gz |
SERVER-76987 Make sure local awaitData notifications are robust to WriteConflictExceptions.
Diffstat (limited to 'src/mongo/db/query/plan_insert_listener.cpp')
-rw-r--r-- | src/mongo/db/query/plan_insert_listener.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/query/plan_insert_listener.cpp b/src/mongo/db/query/plan_insert_listener.cpp index df947c2e725..35b1729b093 100644 --- a/src/mongo/db/query/plan_insert_listener.cpp +++ b/src/mongo/db/query/plan_insert_listener.cpp @@ -123,6 +123,7 @@ void waitForInserts(OperationContext* opCtx, planExecutorHangWhileYieldedInWaitForInserts.pauseWhileSet(); } }); + notifier->doneWaiting(opCtx); uassertStatusOK(yieldResult); } |