summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorMisha Ivkov <misha.ivkov@10gen.com>2019-06-24 17:54:39 -0400
committerMisha Ivkov <misha.ivkov@10gen.com>2019-07-11 13:33:00 -0400
commitcf6ffa0d0b72574bf6fee66a46e1b264c0cc6d63 (patch)
treecd9d76ce058c96436bcf987ac39cb219efff2091 /src/mongo/dbtests
parenta1195adf60e8086219f247be250d8928df8577ce (diff)
downloadmongo-cf6ffa0d0b72574bf6fee66a46e1b264c0cc6d63.tar.gz
SERVER-40620 fassert during document fetch when there is evidence of index corruption
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/query_stage_merge_sort.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/dbtests/query_stage_merge_sort.cpp b/src/mongo/dbtests/query_stage_merge_sort.cpp
index 5656174f7b3..bdc9f235bfb 100644
--- a/src/mongo/dbtests/query_stage_merge_sort.cpp
+++ b/src/mongo/dbtests/query_stage_merge_sort.cpp
@@ -576,6 +576,8 @@ public:
++it;
}
+ WorkingSetCommon::prepareForSnapshotChange(&ws);
+
// Delete recordIds[11]. The deleted document should be buffered inside the SORT_MERGE
// stage, and therefore should still be returned.
ms->saveState();