commit 5791b43b05ae7d01adff708c695087cca513c9c1 Author: Itamar Reis Peixoto <itamar@xxxxxxxxxxxxxxxx> Date: Thu Apr 21 19:38:39 2011 -0300 - new version 4.4.3 .gitignore | 1 + bucardo.spec | 7 +++++-- master-master-replication-example.txt | 16 ++++++++++++++++ sources | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) --- diff --git a/.gitignore b/.gitignore index 35c2eb9..0836210 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Bucardo-4.4.0.tar.gz +/Bucardo-4.4.3.tar.gz diff --git a/bucardo.spec b/bucardo.spec index 9a6e96b..681af40 100644 --- a/bucardo.spec +++ b/bucardo.spec @@ -1,7 +1,7 @@ %define realname Bucardo Name: bucardo -Version: 4.4.0 -Release: 3%{?dist} +Version: 4.4.3 +Release: 1%{?dist} Summary: Postgres replication system for both multi-master and multi-slave operations Group: Applications/Databases @@ -92,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_localstatedir}/run/bucardo %changelog +* Thu Apr 21 2011 Itamar Reis Peixoto <itamar@xxxxxxxxxxxxxxxx> - 4.4.3-1 +- New version 4.4.3 + * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/master-master-replication-example.txt b/master-master-replication-example.txt index 28b974a..ddb9bed 100644 --- a/master-master-replication-example.txt +++ b/master-master-replication-example.txt @@ -27,3 +27,19 @@ bucardo_ctl add sync replica source=alpha targetdb=two type=swap echo "now run bucardo_ctl start as root and test the replication inserting / changing data in one.customers and two.customers" + + +don't forget to setup cron job + +http://bucardo.org/wiki/Bucardo/Cron + +On each database that is used as a master (e.g. has a bucardo_delta table): + + */15 * * * * psql -X -q -d masterhost -U bucardo -c "SELECT + bucardo_purge_delta('10 minutes'::interval)" + +On the main Bucardo database: + + */30 * * * * psql -X -q -d bucardo -U bucardo -c "SELECT + bucardo_purge_q_table('5 minutes'::interval)" + diff --git a/sources b/sources index 2d5a19d..13aa2c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bf32b4dc7302baa1bc269dd34ff65da5 Bucardo-4.4.0.tar.gz +bd15d99de987ccb0b9fa5050e208e061 Bucardo-4.4.3.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel