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 76048a7 commit 605a9feCopy full SHA for 605a9fe
patroni/multisite.py
@@ -63,7 +63,7 @@ def status(self) -> Dict[str, Any]:
63
def should_failover(self) -> bool:
64
return False
65
66
- def on_shutdown(self, checkpoint_location: Optional[int]):
+ def on_shutdown(self, checkpoint_location: int, prev_location: int):
67
pass
68
69
@@ -172,7 +172,7 @@ def release(self):
172
def should_failover(self):
173
return self._failover_target is not None and self._failover_target != self.name
174
175
176
""" Called when shutdown for multisite failover has completed.
177
"""
178
# TODO: check if we replicated everything to standby site
0 commit comments