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 a75cb66 commit f5c1279Copy full SHA for f5c1279
MongoBackup/ReplsetHandler.py
@@ -103,7 +103,7 @@ def find_desirable_secondary(self):
103
log_msg = "Found SECONDARY %s/%s with too-high replication lag! Skipping" % (rs_name, member['name'])
104
105
log_data['optime'] = member['optime']['ts']
106
- log_data['score'] = score
+ log_data['score'] = int(score)
107
logging.debug("%s: %s" % (log_msg, str(log_data)))
108
if secondary is None or (secondary['count'] + 1) < quorum_count:
109
logging.fatal("Not enough secondaries in replset %s to take backup! Num replset members: %i, required quorum: %i" % (
0 commit comments