summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
index ecf3c183996..4ddbde52460 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
@@ -1116,6 +1116,7 @@ void WiredTigerIndexUnique::_unindex(WT_CURSOR* c,
}
int ret = WT_OP_CHECK(c->remove(c));
if (ret == WT_NOTFOUND) {
+ triggerWriteConflictAtPoint(c);
return;
}
invariantWTOK(ret);