summaryrefslogtreecommitdiff
path: root/python/pgq
diff options
context:
space:
mode:
authorMarko Kreen2012-11-27 20:16:59 +0000
committerMarko Kreen2012-11-27 20:16:59 +0000
commit4b65303d4ef77fe78156fb90c8560f34d1a6547b (patch)
tree1dc58e1257fc2206e3d377f6563323186f7df408 /python/pgq
parent5d27dfbb4213c374cbf89a3b4a5d0f8a41df3f80 (diff)
londiste takeover: fix bug in loading events from other node
code forgot to remember the new most recent tick id
Diffstat (limited to 'python/pgq')
-rw-r--r--python/pgq/cascade/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pgq/cascade/admin.py b/python/pgq/cascade/admin.py
index c3ae8b80..97e52f07 100644
--- a/python/pgq/cascade/admin.py
+++ b/python/pgq/cascade/admin.py
@@ -625,6 +625,7 @@ class CascadeAdmin(skytools.AdminScript):
if other_node:
self.change_provider(new_node_name, new_provider = other_node)
self.wait_for_catchup(new_node_name, other_tick)
+ last_tick = other_tick
# promote new root
self.pause_node(new_node_name)