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.
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.
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.
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.
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.
Greg Sabino Mullane [Sat, 3 Sep 2011 02:43:56 +0000 (22:43 -0400)]
Make sure we always unlisten completely for non-payload messages.
Greg Sabino Mullane [Sat, 3 Sep 2011 02:28:44 +0000 (22:28 -0400)]
Newline after reload complete.
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.
Greg Sabino Mullane [Sat, 3 Sep 2011 01:39:36 +0000 (21:39 -0400)]
Change version to 4.99.1
Greg Sabino Mullane [Fri, 2 Sep 2011 22:41:44 +0000 (18:41 -0400)]
Allow 'all' back in as a 'thing'
Greg Sabino Mullane [Fri, 2 Sep 2011 20:16:28 +0000 (16:16 -0400)]
No more default password here.
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.
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.
Greg Sabino Mullane [Wed, 31 Aug 2011 20:58:07 +0000 (16:58 -0400)]
Signature for 4.99.0
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.
Greg Sabino Mullane [Wed, 31 Aug 2011 20:56:15 +0000 (16:56 -0400)]
Remove tabs
Greg Sabino Mullane [Tue, 30 Aug 2011 03:33:48 +0000 (23:33 -0400)]
For deletion summary, show the customname if available.
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.
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.
Greg Sabino Mullane [Tue, 30 Aug 2011 03:00:34 +0000 (23:00 -0400)]
Clean up some of the customname interface.
Greg Sabino Mullane [Fri, 26 Aug 2011 19:27:55 +0000 (15:27 -0400)]
Use the proper customname for all validation checks.
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.
Greg Sabino Mullane [Sat, 20 Aug 2011 03:36:08 +0000 (23:36 -0400)]
Minor testing tweaks.
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.
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.
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!
Greg Sabino Mullane [Sat, 23 Jul 2011 20:33:11 +0000 (16:33 -0400)]
Quick script to keep me honest
Greg Sabino Mullane [Sat, 23 Jul 2011 20:32:34 +0000 (16:32 -0400)]
Big chunk of bucardo script cleanups
Greg Sabino Mullane [Sat, 23 Jul 2011 20:26:42 +0000 (16:26 -0400)]
More escape tweaking.
Greg Sabino Mullane [Fri, 22 Jul 2011 15:45:08 +0000 (11:45 -0400)]
More cleanups of the bucardo script
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.
Greg Sabino Mullane [Thu, 21 Jul 2011 19:39:57 +0000 (15:39 -0400)]
More cleanup and overhaul of bucardo the script.
Greg Sabino Mullane [Thu, 21 Jul 2011 03:13:57 +0000 (23:13 -0400)]
A lot of minor cleanups and simplifications.
Greg Sabino Mullane [Mon, 18 Jul 2011 21:20:17 +0000 (17:20 -0400)]
Minor things: remove unused vars, better code comments.
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.
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.
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.
Greg Sabino Mullane [Sun, 10 Jul 2011 15:46:25 +0000 (11:46 -0400)]
Basic Postgres target test
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
Greg Sabino Mullane [Sat, 9 Jul 2011 17:42:30 +0000 (13:42 -0400)]
Begin interface for customname table
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.
Greg Sabino Mullane [Tue, 5 Jul 2011 14:05:45 +0000 (10:05 -0400)]
Show name of the dbgroup on list sync output
AOlmezov [Mon, 4 Jul 2011 22:03:52 +0000 (18:03 -0400)]
Fix old debug code.
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.
Greg Sabino Mullane [Fri, 1 Jul 2011 15:22:13 +0000 (11:22 -0400)]
Add 'does' attributes to the database objects.
Greg Sabino Mullane [Fri, 1 Jul 2011 15:00:21 +0000 (11:00 -0400)]
Some cleanups of the fullcopy system.
Not working yet.
Greg Sabino Mullane [Thu, 30 Jun 2011 13:59:34 +0000 (09:59 -0400)]
Finish up some loose ends for the customname feature.
Greg Sabino Mullane [Thu, 30 Jun 2011 13:25:32 +0000 (09:25 -0400)]
Support for Drizzle. Untested.
Greg Sabino Mullane [Thu, 30 Jun 2011 12:12:32 +0000 (08:12 -0400)]
Oracle support. Untested!
Greg Sabino Mullane [Thu, 30 Jun 2011 11:29:27 +0000 (07:29 -0400)]
Mild cleanups and some MySQL tweaks.
Greg Sabino Mullane [Wed, 29 Jun 2011 13:21:54 +0000 (09:21 -0400)]
Check the state for all DBI databases.
Minor cleanups.
Greg Sabino Mullane [Wed, 29 Jun 2011 12:08:29 +0000 (08:08 -0400)]
Introducing bucardo.customname - change the names of your target tables!
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.
Greg Sabino Mullane [Sun, 26 Jun 2011 03:24:38 +0000 (23:24 -0400)]
Add a second sync for help in debugging.
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.
Greg Sabino Mullane [Sun, 26 Jun 2011 02:06:23 +0000 (22:06 -0400)]
Fix up the 'bucardo remove table' action.
Greg Sabino Mullane [Mon, 20 Jun 2011 16:54:22 +0000 (12:54 -0400)]
Lots of testing work.
Greg Sabino Mullane [Sun, 19 Jun 2011 11:10:47 +0000 (07:10 -0400)]
Merge in 4.4 changelist
Greg Sabino Mullane [Sun, 12 Jun 2011 00:20:09 +0000 (20:20 -0400)]
Log total items removed from Mongo collections.
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.
Greg Sabino Mullane [Sat, 11 Jun 2011 16:34:41 +0000 (12:34 -0400)]
HTML docs for new name
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
Greg Sabino Mullane [Sat, 11 Jun 2011 03:45:53 +0000 (23:45 -0400)]
Mild cleanup of TODO
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.
Greg Sabino Mullane [Fri, 10 Jun 2011 19:55:26 +0000 (15:55 -0400)]
MCP should handle synckill notices smoothly.
Greg Sabino Mullane [Fri, 10 Jun 2011 19:21:20 +0000 (15:21 -0400)]
Better error message on failure to add dbgroup mapping.
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.
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.
Greg Sabino Mullane [Fri, 10 Jun 2011 14:16:39 +0000 (10:16 -0400)]
Change tests for new add database syntax
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.
Greg Sabino Mullane [Fri, 10 Jun 2011 02:05:14 +0000 (22:05 -0400)]
Fix more tabs and version numbers.
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.
Greg Sabino Mullane [Mon, 6 Jun 2011 21:55:54 +0000 (17:55 -0400)]
Rename 'bucardo_ctl' to just 'bucardo'. Yowza!
Greg Sabino Mullane [Sun, 5 Jun 2011 22:29:17 +0000 (18:29 -0400)]
Report on the database port
Greg Sabino Mullane [Sun, 5 Jun 2011 20:32:45 +0000 (16:32 -0400)]
Add this item so I don't forget about it.
Greg Sabino Mullane [Sun, 5 Jun 2011 04:22:13 +0000 (00:22 -0400)]
Respect syncs' ping=false again.
Fix whitespace
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.
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.
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.
Greg Sabino Mullane [Fri, 3 Jun 2011 02:25:51 +0000 (22:25 -0400)]
Allow odd versions such as "9.1beta1" to work
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.
Greg Sabino Mullane [Thu, 2 Jun 2011 21:17:37 +0000 (17:17 -0400)]
Remove debug line
Greg Sabino Mullane [Thu, 2 Jun 2011 15:19:59 +0000 (11:19 -0400)]
Cleanup the manifest.
Greg Sabino Mullane [Tue, 31 May 2011 22:46:16 +0000 (18:46 -0400)]
Minor fix for status changes on syncs
Greg Sabino Mullane [Mon, 30 May 2011 17:52:40 +0000 (13:52 -0400)]
Change debug output to DEBUG
Greg Sabino Mullane [Mon, 30 May 2011 17:46:06 +0000 (13:46 -0400)]
Remove some debugging output.
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.
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.
Greg Sabino Mullane [Sat, 28 May 2011 17:45:47 +0000 (13:45 -0400)]
Put back in space
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.
Greg Sabino Mullane [Sat, 28 May 2011 03:25:25 +0000 (23:25 -0400)]
Quick cleanups.
Greg Sabino Mullane [Sat, 28 May 2011 03:25:09 +0000 (23:25 -0400)]
Allow alternate ways to say active.
Greg Sabino Mullane [Sat, 28 May 2011 02:42:47 +0000 (22:42 -0400)]
Add tests for MySQL targets
Greg Sabino Mullane [Fri, 27 May 2011 19:47:34 +0000 (15:47 -0400)]
One-arg version of bucardo_purge_delta
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.
Greg Sabino Mullane [Fri, 27 May 2011 04:31:49 +0000 (00:31 -0400)]
Do not try and change aliases function args!
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".
Greg Sabino Mullane [Fri, 27 May 2011 04:28:29 +0000 (00:28 -0400)]
Fat finger helper
Greg Sabino Mullane [Thu, 26 May 2011 03:54:42 +0000 (23:54 -0400)]
Better wording
Greg Sabino Mullane [Thu, 26 May 2011 03:54:24 +0000 (23:54 -0400)]
Minor MySQL tweaks.