Skip to content

Commit 8032ad1

Browse files
Log oplog info dicts when unexpected times are noticed
1 parent bb3b2aa commit 8032ad1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MongoBackup/Oplog/Resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def run(self):
6767
logging.info("No oplog changes to resolve for %s:%s" % (host, port))
6868
elif backup_oplog['last_ts'] > tailed_oplog['last_ts']:
6969
logging.fatal(
70-
"Backup oplog is newer than the tailed oplog! This situation is unsupported. Please retry backup")
70+
"Backup oplog is newer than the tailed oplog, this situation is unsupported! Please retry backup.\nBackup oplog: %s\nTailed oplog: %s" % (backup_oplog, tailed_oplog))
7171
raise Exception, "Backup oplog is newer than the tailed oplog!", None
7272
else:
7373
try:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.5
1+
0.3.6

0 commit comments

Comments
 (0)