diff options
author | Judah Schvimer <judah@mongodb.com> | 2019-01-22 11:52:25 -0500 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2019-01-22 11:52:25 -0500 |
commit | 36ed73e9c8d7ff6c33cc6b980595422ff7075616 (patch) | |
tree | 58631b30a2afa77ce7b371c4776458309480ecdd /jstests/hooks | |
parent | 38f7e69c879296f6b779bc4a3f80ba47ea6cbd9d (diff) | |
download | mongo-36ed73e9c8d7ff6c33cc6b980595422ff7075616.tar.gz |
SERVER-39076 print in background dbhash when a hash mismatch occurs before doing more reads
Diffstat (limited to 'jstests/hooks')
-rw-r--r-- | jstests/hooks/run_check_repl_dbhash_background.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/hooks/run_check_repl_dbhash_background.js b/jstests/hooks/run_check_repl_dbhash_background.js index 3667fad7f03..b0874c43ae8 100644 --- a/jstests/hooks/run_check_repl_dbhash_background.js +++ b/jstests/hooks/run_check_repl_dbhash_background.js @@ -241,6 +241,9 @@ } if (primaryInfo.hash !== secondaryInfo.hash) { + print("DBHash mismatch found for collection with uuid: " + uuid + + ". Primary info: " + tojsononeline(primaryInfo) + ". Secondary info: " + + tojsononeline(secondaryInfo)); const diff = rst.getCollectionDiffUsingSessions( primarySession, secondarySession, dbName, primaryInfo.uuid); |