Files
patroni/tests
Alexander KukushkinandGitHub f42bab5081 Improve behaviour of SyncState.matches() (#2619)
Previously it used to compare between the leader and sync_standbys, while in some cases (actually most of them) the leader should be excluded.
This commit makes `matches()` method flexible:
1. The leader will be included to comparison only if requested
2. checks will be performed as case insensitive (like PG does)

Besides that, everywhere in code start using `cluster.sync.matches()` instead of `name in cluster.sync.members`.
2023-03-28 07:36:45 +02:00
..
2023-01-24 16:14:58 +01:00
2023-03-24 08:54:54 +01:00
2023-01-24 16:14:58 +01:00
2023-03-13 17:00:04 +01:00
2023-01-24 16:14:58 +01:00