mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Sometimes replica can't attach to the master after pg_rewind
The reason for that is: it takes up to 10 seconds to create replication slot + up to 5 seconds to start straming and recover.
This commit is contained in:
@@ -12,6 +12,6 @@ Feature: basic replication
|
||||
When I kill postgres0
|
||||
Then postgres1 role is the primary after 32 seconds
|
||||
When I start postgres0
|
||||
Then postgres0 role is the secondary after 15 seconds
|
||||
Then postgres0 role is the secondary after 20 seconds
|
||||
When I add the table bar to postgres1
|
||||
Then table bar is present on postgres0 after 20 seconds
|
||||
|
||||
Reference in New Issue
Block a user