We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d780ad5 commit 971fe7cCopy full SHA for 971fe7c
mongodb_consistent_backup/Oplog/Tailer/Tailer.py
@@ -64,6 +64,8 @@ def run(self):
64
}
65
self.shards[shard]['thread'].start()
66
while not oplog_state.get('running'):
67
+ if self.shards[shard]['thread'].exitcode:
68
+ raise OperationError("Oplog tailer for %s failed with exit code %i!" % (mongo_uri, self.shards[shard]['thread'].exitcode))
69
sleep(0.5)
70
71
def stop(self, kill=False, sleep_secs=0.5):
0 commit comments