Commit a10c4183 authored by Julien Muchembled's avatar Julien Muchembled

master: fix condition for backup mode when checking replicas

parent 9ed4c4f2
......@@ -162,7 +162,7 @@ class AdministrationHandler(MasterHandler):
def checkReplicas(self, conn, partition_dict, min_tid, max_tid):
app = self.app
pt = app.pt
backingup = app.cluster_state == ClusterStates.BACKINGUP
backingup = bool(app.backup_tid)
if not max_tid:
max_tid = pt.getCheckTid(partition_dict) if backingup else \
app.getLastTransaction()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment