diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2014-03-13 09:28:55 -0400 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2014-03-13 09:29:55 -0400 |
commit | dad98f8d0e6b4ecc546110d00049f0adf52ffb81 (patch) | |
tree | 9fcee38b662093f3d578e4f78da328d78198e550 /buildscripts | |
parent | d66bf3e0a6d28d0cb7ad9cc485237a67b37e008e (diff) | |
download | mongo-dad98f8d0e6b4ecc546110d00049f0adf52ffb81.tar.gz |
smoke small_oplog: don't store dups in lost in master/slave
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index f8196c5dbc4..841382d8bac 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -347,7 +347,7 @@ def check_db_hashes(master, slave): replicated_collections += master.dict.keys() for coll in replicated_collections: - if coll not in slave.dict: + if coll not in slave.dict and coll not in lost_in_slave: lost_in_slave.append(coll) mhash = master.dict[coll] shash = slave.dict[coll] @@ -383,7 +383,7 @@ def check_db_hashes(master, slave): for db in slave.dict.keys(): - if db not in master.dict: + if db not in master.dict and db not in lost_in_master: lost_in_master.append(db) |