Oleksii Kliukin
|
8a36f17d21
|
retry with pg_basebackup if one cannot get data from WAL-E.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
3898610ea3
|
Put back the S3/pg_basebackup condition after testing.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
4af752d668
|
revert the S3/pg_basebackup choice to unconditionally prefer S3 for testing purposes.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
2efa97334b
|
returned the choice between S3 and pg_basebackup based on diff_in_bytes
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
e02eec91bf
|
save/restore both postgresql.conf and pg_hba.conf for WAL-e backup.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
42dfaaab3f
|
write pg_hba.conf for the replica initialized from WAL-E. Temporarily use WAL-e always as a mean to create replica for testing purposes.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
8a6a7b4cea
|
fix a typo.
|
2015-05-20 11:47:20 +02:00 |
|
Oleksii Kliukin
|
75b30d8014
|
save postgresql.conf not only on initdb, but on any start of the server.
|
2015-05-20 11:47:19 +02:00 |
|
Oleksii Kliukin
|
7a2be131bd
|
save/restore postgresql.conf for WAL-e backups, since WAL-E excludes postgresql.conf from the backup/restore.
|
2015-05-20 11:47:19 +02:00 |
|
Oleksii Kliukin
|
d4b366a7e2
|
some arithmetics and type conversion fixes.
|
2015-05-20 11:46:27 +02:00 |
|
Oleksii Kliukin
|
594efe3b64
|
fix a typo.
|
2015-05-20 11:46:26 +02:00 |
|
Oleksii Kliukin
|
19a04a81da
|
split arguments for check_output when checking for the latest backup.
|
2015-05-20 11:46:26 +02:00 |
|
Oleksii Kliukin
|
9e82c3ebd7
|
add functionality to fetch base backup from wal-e for the new replica creation and code to decide whether to use wal-e or pg_basebackup.
|
2015-05-20 11:46:26 +02:00 |
|
Oleksii Kliukin
|
5a579b0c92
|
use governor yaml parameters and not environment variables to configure backups with WAL-E.
|
2015-05-20 10:20:52 +02:00 |
|
Oleksii Kliukin
|
6a08213948
|
retry with pg_basebackup if one cannot get data from WAL-E.
|
2015-05-19 17:16:07 +02:00 |
|
Oleksii Kliukin
|
2191b0227d
|
Put back the S3/pg_basebackup condition after testing.
|
2015-05-19 14:56:36 +02:00 |
|
Oleksii Kliukin
|
ab17836aee
|
revert the S3/pg_basebackup choice to unconditionally prefer S3 for testing purposes.
|
2015-05-19 14:45:35 +02:00 |
|
Oleksii Kliukin
|
9e25b3a78c
|
returned the choice between S3 and pg_basebackup based on diff_in_bytes
|
2015-05-19 14:41:20 +02:00 |
|
Oleksii Kliukin
|
d8d9da12ff
|
save/restore both postgresql.conf and pg_hba.conf for WAL-e backup.
|
2015-05-19 14:33:13 +02:00 |
|
Oleksii Kliukin
|
a8a5c104ce
|
write pg_hba.conf for the replica initialized from WAL-E. Temporarily use WAL-e always as a mean to create replica for testing purposes.
|
2015-05-19 14:24:01 +02:00 |
|
Alexander Kukushkin
|
8378315b6d
|
Remove unneeded stuff from setup.py
|
2015-05-19 14:14:52 +02:00 |
|
Oleksii Kliukin
|
36282a10b2
|
fix a typo.
|
2015-05-19 14:04:51 +02:00 |
|
Alexander Kukushkin
|
8d76889744
|
Merge branch 'master' of github.com:CyberDem0n/governor
|
2015-05-19 14:02:44 +02:00 |
|
Alexander Kukushkin
|
0d5bb48ead
|
Close connection when querying other members of cluster
|
2015-05-19 14:01:30 +02:00 |
|
Oleksii Kliukin
|
380f0a27ac
|
save postgresql.conf not only on initdb, but on any start of the server.
|
2015-05-19 13:56:42 +02:00 |
|
Alexander Kukushkin
|
8946b28c51
|
Merge pull request #1 from CyberDem0n/testing
some simple tests
|
2015-05-19 13:55:38 +02:00 |
|
Alexander Kukushkin
|
16974ad752
|
do not test against 2.6
|
2015-05-19 13:32:35 +02:00 |
|
Alexander Kukushkin
|
c8ee7b1c6d
|
test against 2.6 and 3.3
|
2015-05-19 13:05:31 +02:00 |
|
Feike Steenbergen
|
24c29aee04
|
Add hostssl entry to pg_hba
|
2015-05-19 13:03:14 +02:00 |
|
Alexander Kukushkin
|
004cbf16c6
|
Merge branch 'master' of github.com:CyberDem0n/governor into testing
|
2015-05-19 13:01:15 +02:00 |
|
Alexander Kukushkin
|
805b3a04fc
|
trigger rebuild
|
2015-05-19 12:59:37 +02:00 |
|
Alexander Kukushkin
|
ebb8bce0f6
|
some simple tests
|
2015-05-19 12:49:53 +02:00 |
|
Oleksii Kliukin
|
ae631aae69
|
save/restore postgresql.conf for WAL-e backups, since WAL-E excludes postgresql.conf from the backup/restore.
|
2015-05-19 12:01:45 +02:00 |
|
Oleksii Kliukin
|
9fc412a673
|
some arithmetics and type conversion fixes.
|
2015-05-19 10:32:48 +02:00 |
|
Oleksii Kliukin
|
ea5b4e9725
|
fix a typo.
|
2015-05-19 10:07:12 +02:00 |
|
Oleksii Kliukin
|
20fa4b21ca
|
split arguments for check_output when checking for the latest backup.
|
2015-05-19 09:19:53 +02:00 |
|
Alexander Kukushkin
|
3e8855799f
|
Add requirements.txt
|
2015-05-19 09:14:13 +02:00 |
|
Oleksii Kliukin
|
169288c46c
|
add functionality to fetch base backup from wal-e for the new replica creation and code to decide whether to use wal-e or pg_basebackup.
|
2015-05-18 18:05:04 +02:00 |
|
Feike Steenbergen
|
ede9a2c464
|
Merge pull request #9 from zalando/features/refactoring
listen can contain more then one ip separated by comma
|
2015-05-18 16:55:35 +02:00 |
|
Feike Steenbergen
|
f6fc60800a
|
Close connection when querying other members of cluster.
|
2015-05-18 16:54:36 +02:00 |
|
Alexander Kukushkin
|
f7b6c8df40
|
Merge branch 'master' of github.com:CyberDem0n/governor
Conflicts:
helpers/postgresql.py
|
2015-05-18 15:58:38 +02:00 |
|
Alexander Kukushkin
|
e9ffcf9efe
|
Small refactoring of initdb call
|
2015-05-18 15:57:24 +02:00 |
|
Alexander Kukushkin
|
df855bb8de
|
Merge branch 'master' of github.com:CyberDem0n/governor into features/refactoring
|
2015-05-18 14:39:39 +02:00 |
|
Alexander Kukushkin
|
520de12232
|
Remove debug print
|
2015-05-18 14:39:14 +02:00 |
|
Alexander Kukushkin
|
a9b50b4e2e
|
Merge branch 'master' of github.com:CyberDem0n/governor
|
2015-05-18 14:34:17 +02:00 |
|
Alexander Kukushkin
|
ce936ceee2
|
Merge branch 'master' of github.com:compose/governor
Conflicts:
governor.py
helpers/ha.py
helpers/postgresql.py
|
2015-05-18 14:33:27 +02:00 |
|
Alexander Kukushkin
|
422512880f
|
last_leader_operation is the propery of Cluster object and the value is set in get_cluster method
|
2015-05-18 13:43:14 +02:00 |
|
Alexander Kukushkin
|
9a1f0d1bd1
|
Merge branch 'master' of github.com:CyberDem0n/governor into features/refactoring
Conflicts:
helpers/postgresql.py
|
2015-05-18 13:38:46 +02:00 |
|
Feike Steenbergen
|
b8ce6794de
|
Initialize cluster with encoding=UTF8 by default.
|
2015-05-18 13:35:43 +02:00 |
|
Alexander Kukushkin
|
b24fb0488c
|
last_leader_operation is the propery of Cluster object and the value is set in get_cluster method
|
2015-05-18 13:33:27 +02:00 |
|