mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-09-02 09:39:23 +00:00
First implementation of cloning from the replica.
At the moment we just replace the master with the node at the 'clonefrom' tag if it's present. Master should be available anyway, otherwise, it will not even try to do cloning. Acceptance tests: https://github.com/zalando/patroni/pull/144/commits
This commit is contained in:
@@ -57,6 +57,7 @@ class MockPatroni(object):
|
||||
self.nap_time = 10
|
||||
self.replicatefrom = None
|
||||
self.api.connection_string = 'http://127.0.0.1:8008'
|
||||
self.clonefrom = None
|
||||
|
||||
|
||||
def run_async(func, args=()):
|
||||
|
||||
Reference in New Issue
Block a user