bucardo.git
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

10 years agoAdd updated signature file 5.1.1
David Christensen [Wed, 23 Jul 2014 16:54:07 +0000 (11:54 -0500)]
Add updated signature file

10 years agoNote Changes, release date
David Christensen [Wed, 23 Jul 2014 15:47:28 +0000 (10:47 -0500)]
Note Changes, release date

10 years agoMore version bumping; adjust log message.
Greg Sabino Mullane [Wed, 23 Jul 2014 01:29:17 +0000 (21:29 -0400)]
More version bumping; adjust log message.

10 years agoAllow 'bucardo upgrade' to handle updated column defaults.
Greg Sabino Mullane [Wed, 23 Jul 2014 01:22:34 +0000 (21:22 -0400)]
Allow 'bucardo upgrade' to handle updated column defaults.

10 years agoDo not quote boolean default values inside bucardo.schema
Greg Sabino Mullane [Wed, 23 Jul 2014 01:21:29 +0000 (21:21 -0400)]
Do not quote boolean default values inside bucardo.schema

10 years agoMore cleanup of conflict handling : creak into four ways of winning: table, table_alw...
Greg Sabino Mullane [Sat, 19 Jul 2014 02:23:49 +0000 (22:23 -0400)]
More cleanup of conflict handling : creak into four ways of winning: table, table_always, sync, sync_always.
Update tests a little as well.

10 years agoLet's make bucardo_latest the true default for a sync's conflict_strategy.
Greg Sabino Mullane [Sat, 19 Jul 2014 02:22:59 +0000 (22:22 -0400)]
Let's make bucardo_latest the true default for a sync's conflict_strategy.

10 years agoFix invalid hash key names
Greg Sabino Mullane [Thu, 17 Jul 2014 12:36:28 +0000 (08:36 -0400)]
Fix invalid hash key names

10 years agoSet version 5.1.1
Greg Sabino Mullane [Thu, 17 Jul 2014 12:16:42 +0000 (08:16 -0400)]
Set version 5.1.1

10 years agoMake sure customcode can proceed even if it sets the conflict hash but not the "winner"
Greg Sabino Mullane [Wed, 16 Jul 2014 00:41:38 +0000 (20:41 -0400)]
Make sure customcode can proceed even if it sets the conflict hash but not the "winner"

10 years agoShow name of src_file when updating customcode, not source itself!
Greg Sabino Mullane [Tue, 15 Jul 2014 15:02:54 +0000 (11:02 -0400)]
Show name of src_file when updating customcode, not source itself!

10 years agoForgot sigil when showing updated customcode src_code
Greg Sabino Mullane [Tue, 15 Jul 2014 15:00:26 +0000 (11:00 -0400)]
Forgot sigil when showing updated customcode src_code

10 years agoForgot to call as $self
Greg Sabino Mullane [Tue, 15 Jul 2014 14:54:46 +0000 (10:54 -0400)]
Forgot to call as $self

10 years agoNote git commit for 5.1.0 in the Changes file
Greg Sabino Mullane [Mon, 14 Jul 2014 17:39:11 +0000 (13:39 -0400)]
Note git commit for 5.1.0 in the Changes file

10 years agoVersion 5.1.0 July 14, 2014 5.1.0
Greg Sabino Mullane [Mon, 14 Jul 2014 17:32:37 +0000 (13:32 -0400)]
Version 5.1.0 July 14, 2014

10 years agoNote recent tweak to upgrade processu
Greg Sabino Mullane [Mon, 14 Jul 2014 17:26:30 +0000 (13:26 -0400)]
Note recent tweak to upgrade processu

10 years agoFix up the backslash escaping on upgrades- should solve the recent problem of sync_na...
Greg Sabino Mullane [Mon, 14 Jul 2014 17:25:30 +0000 (13:25 -0400)]
Fix up the backslash escaping on upgrades- should solve the recent problem of sync_name_sane violations on upgrade seen recently.

10 years agoBump version to 5.1.0, as we have made some major changes to the way conflict resolut...
Greg Sabino Mullane [Mon, 14 Jul 2014 17:14:33 +0000 (13:14 -0400)]
Bump version to 5.1.0, as we have made some major changes to the way conflict resolution works.

10 years agogoat-level conflict customcode test
Greg Sabino Mullane [Fri, 11 Jul 2014 12:50:47 +0000 (08:50 -0400)]
goat-level conflict customcode test

10 years agoMake sure we do goat-level customcodes before sync-level ones.
Greg Sabino Mullane [Fri, 11 Jul 2014 11:15:12 +0000 (07:15 -0400)]
Make sure we do goat-level customcodes before sync-level ones.

10 years agoAdd vvv option for bucardo script; do not show src_code by default when listing custo...
Greg Sabino Mullane [Thu, 10 Jul 2014 17:18:03 +0000 (13:18 -0400)]
Add vvv option for bucardo script; do not show src_code by default when listing customcodes.
Fix up code showing relations linked to customcodes.

10 years agoDebugging cleanups
Greg Sabino Mullane [Tue, 8 Jul 2014 17:26:58 +0000 (13:26 -0400)]
Debugging cleanups

10 years agoFurther work on conflict testing.
Greg Sabino Mullane [Mon, 7 Jul 2014 15:48:53 +0000 (11:48 -0400)]
Further work on conflict testing.

10 years agoIn testing, bail early if rows do not match inside check_for_row()
Greg Sabino Mullane [Sat, 5 Jul 2014 14:11:47 +0000 (10:11 -0400)]
In testing, bail early if rows do not match inside check_for_row()

10 years agoIn the tests, make sure we commit, as it can affect the trigger creation times and...
Greg Sabino Mullane [Sat, 5 Jul 2014 12:08:01 +0000 (08:08 -0400)]
In the tests, make sure we commit, as it can affect the trigger creation times and throw off our testing.

10 years agoBe looser in what we allow conflict to be
Greg Sabino Mullane [Fri, 4 Jul 2014 17:41:49 +0000 (13:41 -0400)]
Be looser in what we allow conflict to be

10 years agoMore overhaul of the conflict code.
Greg Sabino Mullane [Fri, 4 Jul 2014 17:39:06 +0000 (13:39 -0400)]
More overhaul of the conflict code.
Use bucardo_latest and bucardo_latest_all_table to generate a list of winning databases.
We then fall through and populate the conflict hash.
Add a shared area for persistence to help custom code.

10 years agoSet version inside string sent to customcodes.
Greg Sabino Mullane [Tue, 1 Jul 2014 14:43:50 +0000 (10:43 -0400)]
Set version inside string sent to customcodes.
Minor debugging tweaks.

10 years agoAdd new test for conflicts
Greg Sabino Mullane [Sun, 29 Jun 2014 17:46:27 +0000 (13:46 -0400)]
Add new test for conflicts

10 years agoAdd update_row_in_database method
Greg Sabino Mullane [Sun, 29 Jun 2014 17:46:03 +0000 (13:46 -0400)]
Add update_row_in_database method

10 years agoBetter debugging
Greg Sabino Mullane [Sun, 29 Jun 2014 17:45:47 +0000 (13:45 -0400)]
Better debugging

10 years agoNot sure why this code is the way it is, but we need to prevent duplicate entries...
Greg Sabino Mullane [Sun, 29 Jun 2014 12:41:20 +0000 (08:41 -0400)]
Not sure why this code is the way it is, but we need to prevent duplicate entries, so here's a bandaid.

10 years agoMuch cleanup and expansion of conflict handler codes.
Greg Sabino Mullane [Sat, 28 Jun 2014 18:49:19 +0000 (14:49 -0400)]
Much cleanup and expansion of conflict handler codes.
Allow an overall winner to be declared by customcode, both one-time and until restart.
Use new pause_and_exit rather than dying, so kids don't just spin their wheels when something goes wrong.

10 years agoClean up args to conflict handling routines
Greg Sabino Mullane [Sat, 28 Jun 2014 12:07:18 +0000 (08:07 -0400)]
Clean up args to conflict handling routines

10 years agoShow associated syncs with customcodes
Greg Sabino Mullane [Sat, 28 Jun 2014 12:05:57 +0000 (08:05 -0400)]
Show associated syncs with customcodes

10 years agoProperly account for the case when the track table is empty, when doing our conflict...
Greg Sabino Mullane [Sat, 28 Jun 2014 12:00:15 +0000 (08:00 -0400)]
Properly account for the case when the track table is empty, when doing our conflict resolution lookups.
Add better debugging.

10 years agoMake sure we allow space-containing arguments for things like add_sync conflict=...
Greg Sabino Mullane [Sat, 28 Jun 2014 11:57:02 +0000 (07:57 -0400)]
Make sure we allow space-containing arguments for things like add_sync conflict="a b c"

10 years agoMake sure we only populate the final track table when the deltas for it are non-zero.
Greg Sabino Mullane [Fri, 27 Jun 2014 20:48:17 +0000 (16:48 -0400)]
Make sure we only populate the final track table when the deltas for it are non-zero.

10 years agoFix up conflict handling - make sure we have proper db handle, and record the actual...
Greg Sabino Mullane [Fri, 27 Jun 2014 20:40:47 +0000 (16:40 -0400)]
Fix up conflict handling - make sure we have proper db handle, and record the actual count, not just the existence.

10 years agoAllow alternate ways to say conflict_strategy (which is a pain to type!)
Greg Sabino Mullane [Thu, 26 Jun 2014 17:32:43 +0000 (13:32 -0400)]
Allow alternate ways to say conflict_strategy (which is a pain to type!)

10 years agoFixes and debugging for conflict strategy code
Greg Sabino Mullane [Thu, 26 Jun 2014 17:32:08 +0000 (13:32 -0400)]
Fixes and debugging for conflict strategy code

10 years agoAllow the CSV format when doing add database
Greg Sabino Mullane [Thu, 26 Jun 2014 17:31:27 +0000 (13:31 -0400)]
Allow the CSV format when doing add database

10 years agoAllow 'conflict' as an alias for 'conflict_strategy'
Greg Sabino Mullane [Thu, 26 Jun 2014 17:30:25 +0000 (13:30 -0400)]
Allow 'conflict' as an alias for 'conflict_strategy'

10 years agoAllow the dbnames parameter to specify roles when doing an add database
Greg Sabino Mullane [Thu, 26 Jun 2014 17:29:20 +0000 (13:29 -0400)]
Allow the dbnames parameter to specify roles when doing an add database

10 years agoTest timer tweak
Greg Sabino Mullane [Thu, 26 Jun 2014 17:29:11 +0000 (13:29 -0400)]
Test timer tweak

10 years agoGive better output when setting conflict_strategy, and do some basic validation.
Greg Sabino Mullane [Wed, 25 Jun 2014 20:25:22 +0000 (16:25 -0400)]
Give better output when setting conflict_strategy, and do some basic validation.
Allow conflict as an alias

10 years agoSkip noise word 'set' in update sync
Greg Sabino Mullane [Wed, 25 Jun 2014 17:45:52 +0000 (13:45 -0400)]
Skip noise word 'set' in update sync

10 years agoCache our makedelta other sync information. Adjust test to test it better.
Greg Sabino Mullane [Tue, 24 Jun 2014 16:01:19 +0000 (12:01 -0400)]
Cache our makedelta other sync information. Adjust test to test it better.

10 years agoAllow some other values for boolean args in bucardo: yes/no on/off
Greg Sabino Mullane [Tue, 24 Jun 2014 15:35:12 +0000 (11:35 -0400)]
Allow some other values for boolean args in bucardo: yes/no on/off

10 years agoMention wiki
Greg Sabino Mullane [Tue, 24 Jun 2014 14:22:21 +0000 (10:22 -0400)]
Mention wiki

10 years agoBump version to 5.0.1.
Greg Sabino Mullane [Tue, 24 Jun 2014 12:56:04 +0000 (08:56 -0400)]
Bump version to 5.0.1.
Mostly so we don't accidentally release another 5.0.0

10 years agoSignature for version 5.0.0 5.0.0
Greg Sabino Mullane [Mon, 23 Jun 2014 16:55:21 +0000 (12:55 -0400)]
Signature for version 5.0.0

10 years agoRelease date: 5.0.0 June 23, 2014
Greg Sabino Mullane [Mon, 23 Jun 2014 16:53:38 +0000 (12:53 -0400)]
Release date: 5.0.0 June 23, 2014

10 years agoMake sure tests have needed pid directory
Greg Sabino Mullane [Mon, 23 Jun 2014 16:07:08 +0000 (12:07 -0400)]
Make sure tests have needed pid directory

10 years agoFix up test test; better version output too.
Greg Sabino Mullane [Mon, 23 Jun 2014 14:44:39 +0000 (10:44 -0400)]
Fix up test test; better version output too.

10 years agoChange number of test values back to 30: over that runs into date problems, and we...
Greg Sabino Mullane [Mon, 23 Jun 2014 14:22:04 +0000 (10:22 -0400)]
Change number of test values back to 30: over that runs into date problems, and we no longer need higher values anyway.

10 years agoTest for servers going away suddenly and how Bucardo deals with that.
Greg Sabino Mullane [Mon, 23 Jun 2014 14:21:27 +0000 (10:21 -0400)]
Test for servers going away suddenly and how Bucardo deals with that.

10 years agoWe use 33 in some tests, so make our test values go until 40
Greg Sabino Mullane [Mon, 23 Jun 2014 00:18:10 +0000 (20:18 -0400)]
We use 33 in some tests, so make our test values go until 40

10 years agoPlan the tests *after* we adjust the counts
Greg Sabino Mullane [Sun, 22 Jun 2014 12:33:44 +0000 (08:33 -0400)]
Plan the tests *after* we adjust the counts