summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/durable_history_index_usage.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/durable_history_index_usage.js')
-rw-r--r--jstests/noPassthrough/durable_history_index_usage.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/jstests/noPassthrough/durable_history_index_usage.js b/jstests/noPassthrough/durable_history_index_usage.js
index 0b32d7a717d..b2f7c01f6c5 100644
--- a/jstests/noPassthrough/durable_history_index_usage.js
+++ b/jstests/noPassthrough/durable_history_index_usage.js
@@ -109,13 +109,15 @@ replTest.start(
true /* restart */);
const checkLogs = function() {
- // The index build was not yet completed at the recovery timestamp, it will be dropped and
- // rebuilt.
- checkLog.containsJson(primary(), 6361201, {
+ // Found index from unfinished build.
+ checkLog.containsJson(primary(), 22253, {
index: "a_1",
namespace: coll().getFullName(),
});
+ // Resetting unfinished index.
+ checkLog.containsJson(primary(), 6987700, {namespace: coll().getFullName(), index: "a_1"});
+
// Index build restarting.
checkLog.containsJson(primary(), 20660);
};