bucardo.git
14 years agoFixed bug with unlistening after a reload.
Greg Sabino Mullane [Sun, 4 Sep 2011 02:21:54 +0000 (22:21 -0400)]
Fixed bug with unlistening after a reload.
Don't freak out if minor schema differences occur when using customname.
Make sure we only unlisten to source databases for kicks.

14 years agoHandle properly the case where we have multiple targets but a customname on only...
Greg Sabino Mullane [Sun, 4 Sep 2011 01:29:10 +0000 (21:29 -0400)]
Handle properly the case where we have multiple targets but a customname on only some subset.

14 years agoWhen adding all tables, go ahead and find the best database automagically.
Greg Sabino Mullane [Sat, 3 Sep 2011 20:16:12 +0000 (16:16 -0400)]
When adding all tables, go ahead and find the best database automagically.

14 years agoDon't show already added tables if the number is zero.
Greg Sabino Mullane [Sat, 3 Sep 2011 13:17:07 +0000 (09:17 -0400)]
Don't show already added tables if the number is zero.

14 years agoAdd a level to the hash, now that the name can change between targets, and the |...
Greg Sabino Mullane [Sat, 3 Sep 2011 02:50:09 +0000 (22:50 -0400)]
Add a level to the hash, now that the name can change between targets, and the ||= is not sufficient.

14 years agoMake sure we always unlisten completely for non-payload messages.
Greg Sabino Mullane [Sat, 3 Sep 2011 02:43:56 +0000 (22:43 -0400)]
Make sure we always unlisten completely for non-payload messages.

14 years agoNewline after reload complete.
Greg Sabino Mullane [Sat, 3 Sep 2011 02:28:44 +0000 (22:28 -0400)]
Newline after reload complete.

14 years agoWho thought up that confusing s->{db} vs self->{sdb} stuff? Fixed problem preventing...
Greg Sabino Mullane [Sat, 3 Sep 2011 02:24:54 +0000 (22:24 -0400)]
Who thought up that confusing s->{db} vs self->{sdb} stuff? Fixed problem preventing bucardo reload syncname from working.

14 years agoChange version to 4.99.1
Greg Sabino Mullane [Sat, 3 Sep 2011 01:39:36 +0000 (21:39 -0400)]
Change version to 4.99.1

14 years agoAllow 'all' back in as a 'thing'
Greg Sabino Mullane [Fri, 2 Sep 2011 22:41:44 +0000 (18:41 -0400)]
Allow 'all' back in as a 'thing'

14 years agoNo more default password here.
Greg Sabino Mullane [Fri, 2 Sep 2011 20:16:28 +0000 (16:16 -0400)]
No more default password here.

14 years agoCreate the bucardo user before we call bucardo.schema
Greg Sabino Mullane [Fri, 2 Sep 2011 02:25:24 +0000 (22:25 -0400)]
Create the bucardo user before we call bucardo.schema
Store the password in the .pgpass file if we can.
Remove some password chars that cause problems in the shell.

14 years agoAdd DBIx::Safe to the required module list in the README.
Greg Sabino Mullane [Fri, 2 Sep 2011 01:42:55 +0000 (21:42 -0400)]
Add DBIx::Safe to the required module list in the README.

14 years agoSignature for 4.99.0 4.99.0
Greg Sabino Mullane [Wed, 31 Aug 2011 20:58:07 +0000 (16:58 -0400)]
Signature for 4.99.0

14 years agoChange to version 4.99.0 in preparation for first beta.
Greg Sabino Mullane [Wed, 31 Aug 2011 20:57:02 +0000 (16:57 -0400)]
Change to version 4.99.0 in preparation for first beta.

14 years agoRemove tabs
Greg Sabino Mullane [Wed, 31 Aug 2011 20:56:15 +0000 (16:56 -0400)]
Remove tabs

14 years agoFor deletion summary, show the customname if available.
Greg Sabino Mullane [Tue, 30 Aug 2011 03:33:48 +0000 (23:33 -0400)]
For deletion summary, show the customname if available.

14 years agoDon't show totals if all zeroes and we are in NORMAL logs or less.
Greg Sabino Mullane [Tue, 30 Aug 2011 03:26:52 +0000 (23:26 -0400)]
Don't show totals if all zeroes and we are in NORMAL logs or less.

14 years agoBetter message when trying to add a customname that already exists.
Greg Sabino Mullane [Tue, 30 Aug 2011 03:13:30 +0000 (23:13 -0400)]
Better message when trying to add a customname that already exists.

14 years agoClean up some of the customname interface.
Greg Sabino Mullane [Tue, 30 Aug 2011 03:00:34 +0000 (23:00 -0400)]
Clean up some of the customname interface.

14 years agoUse the proper customname for all validation checks.
Greg Sabino Mullane [Fri, 26 Aug 2011 19:27:55 +0000 (15:27 -0400)]
Use the proper customname for all validation checks.

14 years agoCommand-line interface to bucardo_purge, as well as a test for it.
Greg Sabino Mullane [Thu, 25 Aug 2011 03:35:31 +0000 (23:35 -0400)]
Command-line interface to bucardo_purge, as well as a test for it.

14 years agoMinor testing tweaks.
Greg Sabino Mullane [Sat, 20 Aug 2011 03:36:08 +0000 (23:36 -0400)]
Minor testing tweaks.

14 years agoShow file name when we cannot start due to previous process running.
Greg Sabino Mullane [Fri, 19 Aug 2011 21:31:37 +0000 (17:31 -0400)]
Show file name when we cannot start due to previous process running.

14 years agoIf no syncs found, go through the whole cleanup anyway - mostly to remove the MCP...
Greg Sabino Mullane [Fri, 19 Aug 2011 20:38:01 +0000 (16:38 -0400)]
If no syncs found, go through the whole cleanup anyway - mostly to remove the MCP PID file.

14 years agoCommit mostly done work in progress for the new customcols feature.
Greg Sabino Mullane [Thu, 11 Aug 2011 03:11:52 +0000 (23:11 -0400)]
Commit mostly done work in progress for the new customcols feature.
Basically, this allows your targets to have any table structure at all!

14 years agoQuick script to keep me honest
Greg Sabino Mullane [Sat, 23 Jul 2011 20:33:11 +0000 (16:33 -0400)]
Quick script to keep me honest

14 years agoBig chunk of bucardo script cleanups
Greg Sabino Mullane [Sat, 23 Jul 2011 20:32:34 +0000 (16:32 -0400)]
Big chunk of bucardo script cleanups

14 years agoMore escape tweaking.
Greg Sabino Mullane [Sat, 23 Jul 2011 20:26:42 +0000 (16:26 -0400)]
More escape tweaking.

14 years agoMore cleanups of the bucardo script
Greg Sabino Mullane [Fri, 22 Jul 2011 15:45:08 +0000 (11:45 -0400)]
More cleanups of the bucardo script

14 years agoRemove the makedelta_triggers option.
Greg Sabino Mullane [Fri, 22 Jul 2011 02:47:24 +0000 (22:47 -0400)]
Remove the makedelta_triggers option.
Lots of cleaning up and rearranging of the bucardo script.

14 years agoMore cleanup and overhaul of bucardo the script.
Greg Sabino Mullane [Thu, 21 Jul 2011 19:39:57 +0000 (15:39 -0400)]
More cleanup and overhaul of bucardo the script.

14 years agoA lot of minor cleanups and simplifications.
Greg Sabino Mullane [Thu, 21 Jul 2011 03:13:57 +0000 (23:13 -0400)]
A lot of minor cleanups and simplifications.

14 years agoMinor things: remove unused vars, better code comments.
Greg Sabino Mullane [Mon, 18 Jul 2011 21:20:17 +0000 (17:20 -0400)]
Minor things: remove unused vars, better code comments.

14 years agoHello, standard_conforming_strings: may as well keep you on now that 9.1 is here.
Greg Sabino Mullane [Sat, 16 Jul 2011 22:50:41 +0000 (18:50 -0400)]
Hello, standard_conforming_strings: may as well keep you on now that 9.1 is here.

14 years agoFix incorrect use of self->{dbh} when it should be s->{db}. Per bug report from Elso...
Greg Sabino Mullane [Sat, 16 Jul 2011 17:00:09 +0000 (13:00 -0400)]
Fix incorrect use of self->{dbh} when it should be s->{db}. Per bug report from Elso on the mailing list.

14 years agoFinish up the bucardo customname interface, with tests.
Greg Sabino Mullane [Sat, 16 Jul 2011 16:45:00 +0000 (12:45 -0400)]
Finish up the bucardo customname interface, with tests.
Clean up the upgrade process a bit.

14 years agoBasic Postgres target test
Greg Sabino Mullane [Sun, 10 Jul 2011 15:46:25 +0000 (11:46 -0400)]
Basic Postgres target test

14 years agoMake sure we have the 'name' column, but don't allow it to be specified
Greg Sabino Mullane [Sun, 10 Jul 2011 15:35:56 +0000 (11:35 -0400)]
Make sure we have the 'name' column, but don't allow it to be specified

14 years agoBegin interface for customname table
Greg Sabino Mullane [Sat, 9 Jul 2011 17:42:30 +0000 (13:42 -0400)]
Begin interface for customname table

14 years agoRemove the confusing --name= option from add database, based on feedback on the list.
Greg Sabino Mullane [Fri, 8 Jul 2011 02:41:03 +0000 (22:41 -0400)]
Remove the confusing --name= option from add database, based on feedback on the list.

14 years agoShow name of the dbgroup on list sync output
Greg Sabino Mullane [Tue, 5 Jul 2011 14:05:45 +0000 (10:05 -0400)]
Show name of the dbgroup on list sync output

14 years agoFix old debug code.
AOlmezov [Mon, 4 Jul 2011 22:03:52 +0000 (18:03 -0400)]
Fix old debug code.

14 years agoAdd in basic Redis support.
Greg Sabino Mullane [Fri, 1 Jul 2011 16:50:43 +0000 (12:50 -0400)]
Add in basic Redis support.
Make sure we add new tables before new columns when upgrading.
Rearrange all the databases, for consistent order of types.

14 years agoAdd 'does' attributes to the database objects.
Greg Sabino Mullane [Fri, 1 Jul 2011 15:22:13 +0000 (11:22 -0400)]
Add 'does' attributes to the database objects.

14 years agoSome cleanups of the fullcopy system.
Greg Sabino Mullane [Fri, 1 Jul 2011 15:00:21 +0000 (11:00 -0400)]
Some cleanups of the fullcopy system.
Not working yet.

14 years agoFinish up some loose ends for the customname feature.
Greg Sabino Mullane [Thu, 30 Jun 2011 13:59:34 +0000 (09:59 -0400)]
Finish up some loose ends for the customname feature.

14 years agoSupport for Drizzle. Untested.
Greg Sabino Mullane [Thu, 30 Jun 2011 13:25:32 +0000 (09:25 -0400)]
Support for Drizzle. Untested.

14 years agoOracle support. Untested!
Greg Sabino Mullane [Thu, 30 Jun 2011 12:12:32 +0000 (08:12 -0400)]
Oracle support. Untested!

14 years agoMild cleanups and some MySQL tweaks.
Greg Sabino Mullane [Thu, 30 Jun 2011 11:29:27 +0000 (07:29 -0400)]
Mild cleanups and some MySQL tweaks.

14 years agoCheck the state for all DBI databases.
Greg Sabino Mullane [Wed, 29 Jun 2011 13:21:54 +0000 (09:21 -0400)]
Check the state for all DBI databases.
Minor cleanups.

14 years agoIntroducing bucardo.customname - change the names of your target tables!
Greg Sabino Mullane [Wed, 29 Jun 2011 12:08:29 +0000 (08:08 -0400)]
Introducing bucardo.customname - change the names of your target tables!

14 years agoRemove the end_syncrun call from the controller, seems to be causing more problems...
Greg Sabino Mullane [Sun, 26 Jun 2011 21:08:07 +0000 (17:08 -0400)]
Remove the end_syncrun call from the controller, seems to be causing more problems than it solves.

14 years agoAdd a second sync for help in debugging.
Greg Sabino Mullane [Sun, 26 Jun 2011 03:24:38 +0000 (23:24 -0400)]
Add a second sync for help in debugging.

14 years agoElevate unknown notifications to warnings, and filter out other syncs' messages.
Greg Sabino Mullane [Sun, 26 Jun 2011 02:30:04 +0000 (22:30 -0400)]
Elevate unknown notifications to warnings, and filter out other syncs' messages.

14 years agoFix up the 'bucardo remove table' action.
Greg Sabino Mullane [Sun, 26 Jun 2011 02:06:23 +0000 (22:06 -0400)]
Fix up the 'bucardo remove table' action.

14 years agoLots of testing work.
Greg Sabino Mullane [Mon, 20 Jun 2011 16:54:22 +0000 (12:54 -0400)]
Lots of testing work.

14 years agoMerge in 4.4 changelist
Greg Sabino Mullane [Sun, 19 Jun 2011 11:10:47 +0000 (07:10 -0400)]
Merge in 4.4 changelist

14 years agoLog total items removed from Mongo collections.
Greg Sabino Mullane [Sun, 12 Jun 2011 00:20:09 +0000 (20:20 -0400)]
Log total items removed from Mongo collections.

14 years agoSet the data type when deleting from MongoDB as primary key.
Greg Sabino Mullane [Sat, 11 Jun 2011 17:28:27 +0000 (13:28 -0400)]
Set the data type when deleting from MongoDB as primary key.

14 years agoHTML docs for new name
Greg Sabino Mullane [Sat, 11 Jun 2011 16:34:41 +0000 (12:34 -0400)]
HTML docs for new name

14 years agoAdjust incoming strings to IV, NV, and boolean as needed for MongoDB inserts.
Greg Sabino Mullane [Sat, 11 Jun 2011 03:46:24 +0000 (23:46 -0400)]
Adjust incoming strings to IV, NV, and boolean as needed for MongoDB inserts.
Update required modules list

14 years agoMild cleanup of TODO
Greg Sabino Mullane [Sat, 11 Jun 2011 03:45:53 +0000 (23:45 -0400)]
Mild cleanup of TODO

14 years agoDo a global chomp of the buffer rather than worrying about mix-n-match chomp requirin...
Greg Sabino Mullane [Sat, 11 Jun 2011 01:56:43 +0000 (21:56 -0400)]
Do a global chomp of the buffer rather than worrying about mix-n-match chomp requiring types.

14 years agoMCP should handle synckill notices smoothly.
Greg Sabino Mullane [Fri, 10 Jun 2011 19:55:26 +0000 (15:55 -0400)]
MCP should handle synckill notices smoothly.

14 years agoBetter error message on failure to add dbgroup mapping.
Greg Sabino Mullane [Fri, 10 Jun 2011 19:21:20 +0000 (15:21 -0400)]
Better error message on failure to add dbgroup mapping.

14 years agoClean up 'bucardo add dbgroup' functionality. Allow --force argument to work.
Greg Sabino Mullane [Fri, 10 Jun 2011 15:52:11 +0000 (11:52 -0400)]
Clean up 'bucardo add dbgroup' functionality. Allow --force argument to work.

14 years agoClean up the delete_sync trigger.
Greg Sabino Mullane [Fri, 10 Jun 2011 15:05:08 +0000 (11:05 -0400)]
Clean up the delete_sync trigger.
May want to add the removed functionality back later, or make it a more explicit function.

14 years agoChange tests for new add database syntax
Greg Sabino Mullane [Fri, 10 Jun 2011 14:16:39 +0000 (10:16 -0400)]
Change tests for new add database syntax

14 years agoEnforce the 'bucardo add db' uses the next word as the internal name, to be consisten...
Greg Sabino Mullane [Fri, 10 Jun 2011 14:09:23 +0000 (10:09 -0400)]
Enforce the 'bucardo add db' uses the next word as the internal name, to be consistent with the other nouns.

14 years agoFix more tabs and version numbers.
Greg Sabino Mullane [Fri, 10 Jun 2011 02:05:14 +0000 (22:05 -0400)]
Fix more tabs and version numbers.

14 years agoI'm had it with these MF tabs in this MF code.
Greg Sabino Mullane [Fri, 10 Jun 2011 01:52:34 +0000 (21:52 -0400)]
I'm had it with these MF tabs in this MF code.

14 years agoRename 'bucardo_ctl' to just 'bucardo'. Yowza!
Greg Sabino Mullane [Mon, 6 Jun 2011 21:55:54 +0000 (17:55 -0400)]
Rename 'bucardo_ctl' to just 'bucardo'. Yowza!

14 years agoReport on the database port
Greg Sabino Mullane [Sun, 5 Jun 2011 22:29:17 +0000 (18:29 -0400)]
Report on the database port

14 years agoAdd this item so I don't forget about it.
Greg Sabino Mullane [Sun, 5 Jun 2011 20:32:45 +0000 (16:32 -0400)]
Add this item so I don't forget about it.

14 years agoRespect syncs' ping=false again.
Greg Sabino Mullane [Sun, 5 Jun 2011 04:22:13 +0000 (00:22 -0400)]
Respect syncs' ping=false again.
Fix whitespace

14 years agoFor the default conflict handler, go through all the dbs one-time only,
Greg Sabino Mullane [Sun, 5 Jun 2011 04:10:06 +0000 (00:10 -0400)]
For the default conflict handler, go through all the dbs one-time only,
then always stick with the "top" database for each row.

14 years agoSpeed up the default conflict handler by making suer we only
Greg Sabino Mullane [Sat, 4 Jun 2011 03:07:45 +0000 (23:07 -0400)]
Speed up the default conflict handler by making suer we only
visit each database once per table, rather than once per key.

14 years agoUse a "semaphore table" to allow a mongo app to somewhat observe atomic behavior.
Greg Sabino Mullane [Fri, 3 Jun 2011 02:55:42 +0000 (22:55 -0400)]
Use a "semaphore table" to allow a mongo app to somewhat observe atomic behavior.

14 years agoAllow odd versions such as "9.1beta1" to work
Greg Sabino Mullane [Fri, 3 Jun 2011 02:25:51 +0000 (22:25 -0400)]
Allow odd versions such as "9.1beta1" to work

14 years agoBetter logging, make sure we combine all conflict counts per sync.
Greg Sabino Mullane [Thu, 2 Jun 2011 21:53:41 +0000 (17:53 -0400)]
Better logging, make sure we combine all conflict counts per sync.

14 years agoRemove debug line
Greg Sabino Mullane [Thu, 2 Jun 2011 21:17:37 +0000 (17:17 -0400)]
Remove debug line

14 years agoCleanup the manifest.
Greg Sabino Mullane [Thu, 2 Jun 2011 15:19:59 +0000 (11:19 -0400)]
Cleanup the manifest.

14 years agoMinor fix for status changes on syncs
Greg Sabino Mullane [Tue, 31 May 2011 22:46:16 +0000 (18:46 -0400)]
Minor fix for status changes on syncs

14 years agoChange debug output to DEBUG
Greg Sabino Mullane [Mon, 30 May 2011 17:52:40 +0000 (13:52 -0400)]
Change debug output to DEBUG

14 years agoRemove some debugging output.
Greg Sabino Mullane [Mon, 30 May 2011 17:46:06 +0000 (13:46 -0400)]
Remove some debugging output.

14 years agoNo unlogged tables for now: Postgres bug is causing FATAL errors on truncate.
Greg Sabino Mullane [Mon, 30 May 2011 17:45:21 +0000 (13:45 -0400)]
No unlogged tables for now: Postgres bug is causing FATAL errors on truncate.

14 years agoFix up log_levels
Greg Sabino Mullane [Sun, 29 May 2011 12:26:09 +0000 (08:26 -0400)]
Fix up log_levels
Change back to exact 'active' status only.

14 years agoPut back in space
Greg Sabino Mullane [Sat, 28 May 2011 17:45:47 +0000 (13:45 -0400)]
Put back in space

14 years agoRemove debugging aid and allow log_levels to take affect again.
Greg Sabino Mullane [Sat, 28 May 2011 17:35:55 +0000 (13:35 -0400)]
Remove debugging aid and allow log_levels to take affect again.

14 years agoQuick cleanups.
Greg Sabino Mullane [Sat, 28 May 2011 03:25:25 +0000 (23:25 -0400)]
Quick cleanups.

14 years agoAllow alternate ways to say active.
Greg Sabino Mullane [Sat, 28 May 2011 03:25:09 +0000 (23:25 -0400)]
Allow alternate ways to say active.

14 years agoAdd tests for MySQL targets
Greg Sabino Mullane [Sat, 28 May 2011 02:42:47 +0000 (22:42 -0400)]
Add tests for MySQL targets

14 years agoOne-arg version of bucardo_purge_delta
Greg Sabino Mullane [Fri, 27 May 2011 19:47:34 +0000 (15:47 -0400)]
One-arg version of bucardo_purge_delta

14 years agoQuick check so people don't try to upgrade an existing 4 to v 5.
Greg Sabino Mullane [Fri, 27 May 2011 04:34:45 +0000 (00:34 -0400)]
Quick check so people don't try to upgrade an existing 4 to v 5.

14 years agoDo not try and change aliases function args!
Greg Sabino Mullane [Fri, 27 May 2011 04:31:49 +0000 (00:31 -0400)]
Do not try and change aliases function args!

14 years agoGet a new bucardo_purge_delta in place. Arguments are interval and "schema.table".
Greg Sabino Mullane [Fri, 27 May 2011 04:28:49 +0000 (00:28 -0400)]
Get a new bucardo_purge_delta in place. Arguments are interval and "schema.table".

14 years agoFat finger helper
Greg Sabino Mullane [Fri, 27 May 2011 04:28:29 +0000 (00:28 -0400)]
Fat finger helper

14 years agoBetter wording
Greg Sabino Mullane [Thu, 26 May 2011 03:54:42 +0000 (23:54 -0400)]
Better wording

14 years agoMinor MySQL tweaks.
Greg Sabino Mullane [Thu, 26 May 2011 03:54:24 +0000 (23:54 -0400)]
Minor MySQL tweaks.