bucardo.git
10 years agoUpdate changes for 5.3.0
Greg Sabino Mullane [Mon, 22 Dec 2014 13:24:10 +0000 (08:24 -0500)]
Update changes for 5.3.0

10 years agoQuote bug!
Greg Sabino Mullane [Mon, 22 Dec 2014 03:45:23 +0000 (22:45 -0500)]
Quote bug!

10 years agoRemove old debug line
Greg Sabino Mullane [Mon, 22 Dec 2014 02:38:15 +0000 (21:38 -0500)]
Remove old debug line

10 years agoDo not bail on default for test failures - that is why we have ENV{BUCARDO_TESTBAIL}
Greg Sabino Mullane [Sun, 21 Dec 2014 22:12:32 +0000 (17:12 -0500)]
Do not bail on default for test failures - that is why we have ENV{BUCARDO_TESTBAIL}

10 years agoMany Perl::Critic tweaks
Greg Sabino Mullane [Sun, 21 Dec 2014 22:12:08 +0000 (17:12 -0500)]
Many Perl::Critic tweaks

10 years agoMake sure we undef the CTL error handler after the fork to become a KID.
Greg Sabino Mullane [Sun, 21 Dec 2014 22:11:32 +0000 (17:11 -0500)]
Make sure we undef the CTL error handler after the fork to become a KID.
Many Perl::Critic inspired tweaks.

10 years agoSpelling tweaks
Greg Sabino Mullane [Sat, 20 Dec 2014 01:54:15 +0000 (20:54 -0500)]
Spelling tweaks

10 years agoTesting tweak
Greg Sabino Mullane [Fri, 19 Dec 2014 14:22:24 +0000 (09:22 -0500)]
Testing tweak

10 years agoDo not overwrite existing makedelta state for tables
Greg Sabino Mullane [Fri, 19 Dec 2014 05:11:52 +0000 (00:11 -0500)]
Do not overwrite existing makedelta state for tables

10 years agoImprove 50-star tests
Greg Sabino Mullane [Fri, 19 Dec 2014 04:41:12 +0000 (23:41 -0500)]
Improve 50-star tests

10 years agoModify db_notify method to allow for non-commits, as we now need that as we commit...
Greg Sabino Mullane [Fri, 19 Dec 2014 04:07:11 +0000 (23:07 -0500)]
Modify db_notify method to allow for non-commits, as we now need that as we commit to other databases in the middle of our important kid transaction.

10 years agoCreated a new level of output, DEBUG2, and moved some of the really verbose and annoy...
Greg Sabino Mullane [Thu, 18 Dec 2014 20:09:02 +0000 (15:09 -0500)]
Created a new level of output, DEBUG2, and moved some of the really verbose and annoying messages there.

10 years agoMakedelta tweaks
Greg Sabino Mullane [Thu, 18 Dec 2014 20:07:22 +0000 (15:07 -0500)]
Makedelta tweaks

10 years agoAllow specification of non-default port when sending email.
Greg Sabino Mullane [Sun, 14 Dec 2014 18:35:37 +0000 (13:35 -0500)]
Allow specification of non-default port when sending email.
Attempt support for SASL auth as well (untested)

10 years agoBetter debug for invalid customcols
Greg Sabino Mullane [Sun, 14 Dec 2014 18:25:04 +0000 (13:25 -0500)]
Better debug for invalid customcols

10 years agoCleanup of testing infrastructure. Primary change is using CREATE DATABASE .. TEMPLAT...
Greg Sabino Mullane [Sat, 13 Dec 2014 03:19:39 +0000 (22:19 -0500)]
Cleanup of testing infrastructure. Primary change is using CREATE DATABASE .. TEMPLATE for the "extra" databases.

10 years agoAllow skipping of test cleanup via environment variable BUCARDO_NOCLEANUP
Greg Sabino Mullane [Sat, 13 Dec 2014 03:18:49 +0000 (22:18 -0500)]
Allow skipping of test cleanup via environment variable BUCARDO_NOCLEANUP

10 years agoStandardize the Changes file, back to version 5.0.0
Greg Sabino Mullane [Thu, 11 Dec 2014 03:36:41 +0000 (22:36 -0500)]
Standardize the Changes file, back to version 5.0.0

10 years agoDo not consider "nouns" when ooking for matching tables inside of add customcols...
Greg Sabino Mullane [Tue, 9 Dec 2014 20:04:45 +0000 (15:04 -0500)]
Do not consider "nouns" when ooking for matching tables inside of add customcols - the db= parameter can confuse things

10 years agoAllow customcodes an easier look at the changed rows, so they don't have to go figure...
Greg Sabino Mullane [Tue, 9 Dec 2014 19:22:48 +0000 (14:22 -0500)]
Allow customcodes an easier look at the changed rows, so they don't have to go figure it out themselves.
Show our customcode names, not ids, in the log output.

10 years agoFix two typos
Greg Sabino Mullane [Mon, 8 Dec 2014 22:10:51 +0000 (17:10 -0500)]
Fix two typos

10 years agoQuick idea about sourceonly type
Greg Sabino Mullane [Mon, 8 Dec 2014 16:26:15 +0000 (11:26 -0500)]
Quick idea about sourceonly type

10 years agoCheck for database makedelta of "true", not just truthy existence.
Greg Sabino Mullane [Mon, 8 Dec 2014 00:59:48 +0000 (19:59 -0500)]
Check for database makedelta of "true", not just truthy existence.
Fix some whitespace

10 years agoIncrease sleep time in this test
Greg Sabino Mullane [Sat, 6 Dec 2014 17:57:51 +0000 (12:57 -0500)]
Increase sleep time in this test

10 years agoSupport for hinting to the MCP that a database may be down.
Greg Sabino Mullane [Wed, 3 Dec 2014 20:56:25 +0000 (15:56 -0500)]
Support for hinting to the MCP that a database may be down.

10 years agoTests: calls to empty_cluster must now handle an arrayref
Greg Sabino Mullane [Mon, 1 Dec 2014 16:22:09 +0000 (11:22 -0500)]
Tests: calls to empty_cluster must now handle an arrayref

10 years agoAdd tests for new remove all functionality
Greg Sabino Mullane [Fri, 28 Nov 2014 18:03:07 +0000 (13:03 -0500)]
Add tests for new remove all functionality

10 years agoAllow removing all tables or sequences at once via command line, e.g. 'bucardo remove...
Greg Sabino Mullane [Fri, 28 Nov 2014 16:24:55 +0000 (11:24 -0500)]
Allow removing all tables or sequences at once via command line, e.g. 'bucardo remove all tables'

10 years agoAllow --makedelta=foo to work on command line when adding all tables
Greg Sabino Mullane [Fri, 28 Nov 2014 12:55:09 +0000 (07:55 -0500)]
Allow --makedelta=foo to work on command line when adding all tables

10 years agoAllwo --dryrun to work when adding items, esp. tables
Greg Sabino Mullane [Fri, 28 Nov 2014 12:44:12 +0000 (07:44 -0500)]
Allwo --dryrun to work when adding items, esp. tables

10 years agoMinor test adjustments
Greg Sabino Mullane [Fri, 28 Nov 2014 12:27:52 +0000 (07:27 -0500)]
Minor test adjustments

10 years agoChange some truncates to deletes: truncate just not MVCC-safe enough yet.
Greg Sabino Mullane [Fri, 28 Nov 2014 12:27:20 +0000 (07:27 -0500)]
Change some truncates to deletes: truncate just not MVCC-safe enough yet.

10 years agoAdd new test file 50-star.t
Greg Sabino Mullane [Thu, 27 Nov 2014 17:49:37 +0000 (12:49 -0500)]
Add new test file 50-star.t

10 years agoMake sure we quote sequence name in the tests.
Greg Sabino Mullane [Thu, 27 Nov 2014 17:34:55 +0000 (12:34 -0500)]
Make sure we quote sequence name in the tests.

10 years agoWhen showing microseconds in the log, force the third and final zero to appear
Greg Sabino Mullane [Wed, 26 Nov 2014 23:30:59 +0000 (18:30 -0500)]
When showing microseconds in the log, force the third and final zero to appear

10 years agoTesting changes: allow creation of "extra" numberic databases e.g. B1, B2, B3
Greg Sabino Mullane [Wed, 26 Nov 2014 23:28:52 +0000 (18:28 -0500)]
Testing changes: allow creation of "extra" numberic databases e.g. B1, B2, B3
Increase the timeout for Bucardo startup because of heavy tests
Boost max_connections to 150 for database A, and to 75 for all others

10 years agoMerge branch 'master' of bucardo.org:/var/lib/git/bucardo
Greg Sabino Mullane [Tue, 25 Nov 2014 20:26:32 +0000 (15:26 -0500)]
Merge branch 'master' of bucardo.org:/var/lib/git/bucardo

10 years agoHave bucardo list tables show the makedelta information
Greg Sabino Mullane [Tue, 25 Nov 2014 20:26:06 +0000 (15:26 -0500)]
Have bucardo list tables show the makedelta information

10 years agoRandom reminder in TODO
Greg Sabino Mullane [Tue, 25 Nov 2014 20:25:51 +0000 (15:25 -0500)]
Random reminder in TODO

10 years agoRevert "minor change; commit test"
David Christensen [Tue, 25 Nov 2014 19:48:45 +0000 (13:48 -0600)]
Revert "minor change; commit test"

This reverts commit 18576b348cf46a7c2014397e6a576be07e2ab9ba.

10 years agominor change; commit test
David Christensen [Tue, 25 Nov 2014 15:07:29 +0000 (09:07 -0600)]
minor change; commit test

10 years agoDon't worry about running pg_cancel if our txn errored out because of serialization...
Greg Sabino Mullane [Tue, 25 Nov 2014 19:43:42 +0000 (14:43 -0500)]
Don't worry about running pg_cancel if our txn errored out because of serialization errors.

10 years agoRevert "minor change; commit test"
David Christensen [Tue, 25 Nov 2014 19:35:55 +0000 (13:35 -0600)]
Revert "minor change; commit test"

This reverts commit 56f3480829920d75676cb258f1e41e6572f38485.

10 years agoBetter filtering in tests
Greg Sabino Mullane [Tue, 25 Nov 2014 19:34:31 +0000 (14:34 -0500)]
Better filtering in tests

10 years agoWhen validate_sync fails, show the error in the logs
Greg Sabino Mullane [Tue, 25 Nov 2014 19:23:15 +0000 (14:23 -0500)]
When validate_sync fails, show the error in the logs

10 years agoRevert work-in-progress test file
Greg Sabino Mullane [Tue, 25 Nov 2014 19:00:30 +0000 (14:00 -0500)]
Revert work-in-progress test file

10 years agoMerge branch 'master' of bucardo.org:/var/lib/git/bucardo
Greg Sabino Mullane [Tue, 25 Nov 2014 18:49:32 +0000 (13:49 -0500)]
Merge branch 'master' of bucardo.org:/var/lib/git/bucardo

10 years agoWhen the VAC exits, disconnect from any databases cleanly we may still be connected to.
Greg Sabino Mullane [Tue, 25 Nov 2014 18:49:03 +0000 (13:49 -0500)]
When the VAC exits, disconnect from any databases cleanly we may still be connected to.

10 years agominor change; commit test
David Christensen [Tue, 25 Nov 2014 15:07:29 +0000 (09:07 -0600)]
minor change; commit test

10 years agoRevert "minor change; commit test"
David Christensen [Tue, 25 Nov 2014 16:04:09 +0000 (10:04 -0600)]
Revert "minor change; commit test"

This reverts commit 0a2c99ac734532db37741c993c226ebfff53135a.

10 years agominor change; commit test
David Christensen [Tue, 25 Nov 2014 15:07:29 +0000 (09:07 -0600)]
minor change; commit test

10 years agoRevert "minor change; commit test"
David Christensen [Tue, 25 Nov 2014 15:27:02 +0000 (09:27 -0600)]
Revert "minor change; commit test"

This reverts commit 85a180f7d3d657cc72b1fa8e5a9cd7e0033f6f5d.

10 years agominor change; commit test
David Christensen [Tue, 25 Nov 2014 15:07:29 +0000 (09:07 -0600)]
minor change; commit test

10 years agoRevert "minor change; commit test"
David Christensen [Tue, 25 Nov 2014 15:24:21 +0000 (09:24 -0600)]
Revert "minor change; commit test"

This reverts commit 7d8c1552346ae84ffc953d9608f66bb4d32aaedd.

10 years agominor change; commit test
David Christensen [Tue, 25 Nov 2014 15:07:29 +0000 (09:07 -0600)]
minor change; commit test

10 years agoNext version will be 5.3.0 due to makedelta per db change
Greg Sabino Mullane [Tue, 25 Nov 2014 15:03:36 +0000 (10:03 -0500)]
Next version will be 5.3.0 due to makedelta per db change

10 years agoNote recent changes
Greg Sabino Mullane [Tue, 25 Nov 2014 12:27:49 +0000 (07:27 -0500)]
Note recent changes

10 years agoUse the correct list of pk columns when generating makedelta entries: before we were...
Greg Sabino Mullane [Tue, 25 Nov 2014 12:27:20 +0000 (07:27 -0500)]
Use the correct list of pk columns when generating makedelta entries: before we were using the values-centeric ENCODEd version.

10 years agoAdd safety check for adding test rows.
Greg Sabino Mullane [Mon, 24 Nov 2014 18:17:47 +0000 (13:17 -0500)]
Add safety check for  adding test rows.
Bump max_connections for testing.

10 years agoAllow entire databases to be set as 'makedelta'u
Greg Sabino Mullane [Mon, 24 Nov 2014 18:17:08 +0000 (13:17 -0500)]
Allow entire databases to be set as 'makedelta'u

10 years agoAllow msg as alias for message e.g. 'bucardo msg foobar'
Greg Sabino Mullane [Mon, 24 Nov 2014 02:10:28 +0000 (21:10 -0500)]
Allow msg as alias for message e.g. 'bucardo msg foobar'

10 years agoNote idea about grouping syncs for less synckick triggers
Greg Sabino Mullane [Sat, 22 Nov 2014 19:15:04 +0000 (14:15 -0500)]
Note idea about grouping syncs for less synckick triggers

10 years agoUse Test::More::note to give some status updates in the slow parts of the tests.
Greg Sabino Mullane [Sat, 22 Nov 2014 19:14:25 +0000 (14:14 -0500)]
Use Test::More::note to give some status updates in the slow parts of the tests.
When stopping a cluster, wait until the PID file disappears

10 years agoMinor fixes or better crashed-db recovery.
Greg Sabino Mullane [Sat, 22 Nov 2014 19:13:36 +0000 (14:13 -0500)]
Minor fixes or better crashed-db recovery.

10 years agoRemove editor artifact
Greg Sabino Mullane [Thu, 6 Nov 2014 19:19:24 +0000 (14:19 -0500)]
Remove editor artifact

10 years agoNote release commit for 5.2.0
Greg Sabino Mullane [Wed, 5 Nov 2014 20:17:55 +0000 (15:17 -0500)]
Note release commit for 5.2.0

10 years agoRelease version 5.2.0
Greg Sabino Mullane [Wed, 5 Nov 2014 20:17:32 +0000 (15:17 -0500)]
Release version 5.2.0

10 years agoTypo 5.2.0
Greg Sabino Mullane [Wed, 5 Nov 2014 19:32:19 +0000 (14:32 -0500)]
Typo

10 years agoVersion bump to 5.2.0
Greg Sabino Mullane [Wed, 5 Nov 2014 19:31:35 +0000 (14:31 -0500)]
Version bump to 5.2.0

10 years agoMakedelta should only add a matching track entry when the target is a source for...
Greg Sabino Mullane [Tue, 4 Nov 2014 15:02:23 +0000 (10:02 -0500)]
Makedelta should only add a matching track entry when the target is a source for the current sync.

10 years agoAdd note about proper makdelta track behavior
Greg Sabino Mullane [Mon, 3 Nov 2014 04:41:26 +0000 (23:41 -0500)]
Add note about proper makdelta track behavior

10 years agoMoved backend display into show_db_version_and_time()
Greg Sabino Mullane [Sun, 2 Nov 2014 19:43:56 +0000 (14:43 -0500)]
Moved backend display into show_db_version_and_time()

10 years agoRemove the terrible, awful $x global var, and fix some bugs in the process
Greg Sabino Mullane [Sun, 2 Nov 2014 18:42:14 +0000 (13:42 -0500)]
Remove the terrible, awful $x global var, and fix some bugs in the process

10 years agoOn a failed install, add some wordage to help people who are trying to reinstall...
Greg Sabino Mullane [Thu, 30 Oct 2014 17:33:51 +0000 (13:33 -0400)]
On a failed install, add some wordage to help people who are trying to reinstall rather than upgrade.

10 years agoBetter indent in logs
Greg Sabino Mullane [Thu, 30 Oct 2014 17:30:55 +0000 (13:30 -0400)]
Better indent in logs

10 years agoNew 'quickstart' parameter: allow skipping of remote table/column sanity checks.
Greg Sabino Mullane [Tue, 28 Oct 2014 22:30:26 +0000 (18:30 -0400)]
New 'quickstart' parameter: allow skipping of remote table/column sanity checks.

10 years agoTypo - stage table name is stored in goat hash, not target hash.
Greg Sabino Mullane [Tue, 28 Oct 2014 17:51:24 +0000 (13:51 -0400)]
Typo - stage table name is stored in goat hash, not target hash.

10 years agoFix problem of not clearing out stagetable before using it. There was a
Greg Sabino Mullane [Mon, 27 Oct 2014 18:23:15 +0000 (14:23 -0400)]
Fix problem of not clearing out stagetable before using it. There was a
chance that a previous KID left some rows in there, in which case duplicate
entries will appear in bucardo_track.

10 years agoFinal sig for 5.1.2 5.1.2
Greg Sabino Mullane [Wed, 15 Oct 2014 20:31:38 +0000 (16:31 -0400)]
Final sig for 5.1.2

10 years agogit commit for 5.1.2
Greg Sabino Mullane [Wed, 15 Oct 2014 20:31:17 +0000 (16:31 -0400)]
git commit for 5.1.2

10 years agoSignature for version 5.1.2
Greg Sabino Mullane [Wed, 15 Oct 2014 20:30:41 +0000 (16:30 -0400)]
Signature for version 5.1.2

10 years agoVersion bump to 5.1.2
Greg Sabino Mullane [Wed, 15 Oct 2014 20:29:21 +0000 (16:29 -0400)]
Version bump to 5.1.2

10 years agoMake sure C is used as a source in the makedelta test, as one of its tables needs...
Greg Sabino Mullane [Tue, 14 Oct 2014 19:27:54 +0000 (15:27 -0400)]
Make sure C is used as a source in the makedelta test, as one of its tables needs to be makedelta, so we fake it as a source in order for it to have the right underpinnings.

10 years agoUpdate with recent changes, start using better style per DBD::Pg Changes file
Greg Sabino Mullane [Mon, 13 Oct 2014 18:16:22 +0000 (14:16 -0400)]
Update with recent changes, start using better style per DBD::Pg Changes file

10 years agotweak for git hook testing
David Christensen [Mon, 8 Sep 2014 16:35:14 +0000 (11:35 -0500)]
tweak for git hook testing

10 years agotweak for git hook testing
David Christensen [Mon, 8 Sep 2014 16:30:48 +0000 (11:30 -0500)]
tweak for git hook testing

10 years agoRemove closed issues
David Christensen [Mon, 8 Sep 2014 16:28:08 +0000 (11:28 -0500)]
Remove closed issues

10 years agoStart Changelog for next version
Greg Sabino Mullane [Fri, 5 Sep 2014 16:56:07 +0000 (12:56 -0400)]
Start Changelog for next version

10 years agoMake sure makedelta can be set on all databases, source *and* target.
Greg Sabino Mullane [Fri, 5 Sep 2014 16:54:55 +0000 (12:54 -0400)]
Make sure makedelta can be set on all databases, source *and* target.
Per blog post: http://abdulyadi.wordpress.com/2014/09/01/bucardo-5-cascaded-slave-replication/

10 years agoNeed to update validate_sync with new columns
Greg Sabino Mullane [Mon, 1 Sep 2014 12:42:08 +0000 (08:42 -0400)]
Need to update validate_sync with new columns

10 years agoTrying to remove the non-functional goto loop when a server goes down but we need...
Greg Sabino Mullane [Thu, 28 Aug 2014 00:19:26 +0000 (20:19 -0400)]
Trying to remove the non-functional goto loop when a server goes down but we need the MCP to keep chugging along.

10 years agoNote idea from mailing list re varchar(x) and varchar(x+y)
Greg Sabino Mullane [Sun, 24 Aug 2014 15:15:40 +0000 (11:15 -0400)]
Note idea from mailing list re varchar(x) and varchar(x+y)

10 years agoSlightly better debug
Greg Sabino Mullane [Fri, 22 Aug 2014 19:56:46 +0000 (15:56 -0400)]
Slightly better debug

10 years agoRelax parens: recent versions of Postgres are smart enough to untangle these to the...
Greg Sabino Mullane [Fri, 22 Aug 2014 19:56:09 +0000 (15:56 -0400)]
Relax parens: recent versions of Postgres are smart enough to untangle these to the bare minimum!

10 years agoPotential fix for recent async failures seen on list.
Greg Sabino Mullane [Fri, 22 Aug 2014 17:27:55 +0000 (13:27 -0400)]
Potential fix for recent async failures seen on list.

10 years agosend_mail() expects a hashref now, not a list
Greg Sabino Mullane [Thu, 7 Aug 2014 13:29:17 +0000 (09:29 -0400)]
send_mail() expects a hashref now, not a list

10 years agoAllow 'git list config*' to work as an alias for git config.
Greg Sabino Mullane [Thu, 7 Aug 2014 12:04:08 +0000 (08:04 -0400)]
Allow 'git list config*' to work as an alias for git config.
Make plain 'git config' act as 'git show all'

10 years agoRemove Encode::Locale dependency
Joshua Tolley [Sat, 2 Aug 2014 18:21:31 +0000 (12:21 -0600)]
Remove Encode::Locale dependency

10 years agoFix add_customcols params parsing
David Christensen [Tue, 29 Jul 2014 18:49:41 +0000 (13:49 -0500)]
Fix add_customcols params parsing

10 years agoAdd commit stamp for 5.1.1 release
David Christensen [Tue, 29 Jul 2014 18:43:29 +0000 (13:43 -0500)]
Add commit stamp for 5.1.1 release