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.
Greg Sabino Mullane [Thu, 26 May 2011 02:01:17 +0000 (22:01 -0400)]
Be more explicit for ENV defaults, to prevent confusion with simple database names such as "X"
Greg Sabino Mullane [Wed, 25 May 2011 19:01:32 +0000 (15:01 -0400)]
Show conflicts in lastgood for 'status'
Greg Sabino Mullane [Wed, 25 May 2011 18:24:21 +0000 (14:24 -0400)]
Initial attempt at MySQL target support.
More fixes for listen/notify.
Greg Sabino Mullane [Tue, 24 May 2011 20:18:18 +0000 (16:18 -0400)]
Cleanup listen/notify for 9.0 and up
Greg Sabino Mullane [Mon, 23 May 2011 21:39:55 +0000 (17:39 -0400)]
Automatically pick a db if none given when adding tables.
Allow herd to be specified again when adding tables.
Greg Sabino Mullane [Mon, 23 May 2011 21:00:11 +0000 (17:00 -0400)]
Comment out search_path per bucardo user for now.
Greg Sabino Mullane [Mon, 23 May 2011 03:34:15 +0000 (23:34 -0400)]
Allow for eventual verbose details on each syncrun
Greg Sabino Mullane [Mon, 23 May 2011 03:26:03 +0000 (23:26 -0400)]
Cleanup and redo some of the synrun system.
Get "status" and "status syncname" for bucardo_ctl working again.
Greg Sabino Mullane [Thu, 19 May 2011 20:48:02 +0000 (16:48 -0400)]
Complete basic Mongo tests
Greg Sabino Mullane [Thu, 19 May 2011 20:47:42 +0000 (16:47 -0400)]
Mongo tweaks.
Fix for case when truncate but no deltas.
Greg Sabino Mullane [Thu, 19 May 2011 05:20:26 +0000 (01:20 -0400)]
Add new test for testing MongoDB.
Add some TODO items.
Greg Sabino Mullane [Thu, 19 May 2011 05:18:52 +0000 (01:18 -0400)]
Turn escaped nulls back into undef for mongo pushes.
Greg Sabino Mullane [Thu, 19 May 2011 04:52:25 +0000 (00:52 -0400)]
Better debug on initdb fail for testing.
Greg Sabino Mullane [Thu, 19 May 2011 04:52:05 +0000 (00:52 -0400)]
Minor fixes.
Greg Sabino Mullane [Thu, 19 May 2011 04:51:25 +0000 (00:51 -0400)]
Comment cleanups.
Greg Sabino Mullane [Thu, 19 May 2011 04:51:11 +0000 (00:51 -0400)]
Fixups for bytea primary keys.
Greg Sabino Mullane [Wed, 18 May 2011 16:57:27 +0000 (12:57 -0400)]
Quick fix for new bucardo_purge_delta function: still incomplete, but should compile.
Greg Sabino Mullane [Wed, 18 May 2011 06:53:08 +0000 (02:53 -0400)]
Clean up and redo the sequences.
Greg Sabino Mullane [Wed, 18 May 2011 00:00:33 +0000 (20:00 -0400)]
Simplify the default standard_conflict: we only care which table was last touched, not the details about which pk was changed.
Greg Sabino Mullane [Tue, 17 May 2011 21:30:11 +0000 (17:30 -0400)]
Re-establish the truncation system for non fullcopy syncs.
Redo the mongo: use remove/insert, not update, plus other tweaks.
For flatfiles, only use the schema name if the type is flatpg
Greg Sabino Mullane [Mon, 16 May 2011 03:13:47 +0000 (23:13 -0400)]
Rename targetdb to more accurate and generic target.
Add some purging to the new truncate trigger.
Greg Sabino Mullane [Sun, 15 May 2011 02:20:13 +0000 (22:20 -0400)]
Another backslash instance
Greg Sabino Mullane [Sun, 15 May 2011 02:13:36 +0000 (22:13 -0400)]
Fix severe backslash bug, per email from Gabriel Weinberg <yegg@alum.mit.edu>
Greg Sabino Mullane [Sun, 15 May 2011 02:13:30 +0000 (22:13 -0400)]
Minor cleanups
Greg Sabino Mullane [Fri, 13 May 2011 04:09:46 +0000 (00:09 -0400)]
Tried 2PC, does not really fit, used an alternate "stage" file system instead.
Greg Sabino Mullane [Fri, 13 May 2011 04:09:33 +0000 (00:09 -0400)]
Quick todo cleanup
Greg Sabino Mullane [Fri, 13 May 2011 03:47:19 +0000 (23:47 -0400)]
Bucardo 5 has arrived. Rough, but workable.
Greg Sabino Mullane [Fri, 15 Apr 2011 02:49:04 +0000 (22:49 -0400)]
Ready for 4.4.3 release
Greg Sabino Mullane [Fri, 15 Apr 2011 02:47:31 +0000 (22:47 -0400)]
Spaces, not tabs!
Greg Sabino Mullane [Thu, 14 Apr 2011 18:21:43 +0000 (14:21 -0400)]
Move the 9.0 SQL checks around a bit.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:19:48 +0000 (14:19 -0400)]
Don't check pg_listener when deactivating syncs if backend is 9 or better.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:10:55 +0000 (14:10 -0400)]
Note 4.4.3 patch.
Bump to version 4.4.3 everywhere.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:07:30 +0000 (14:07 -0400)]
Make sure we commit to target before master, to fix rare race condition.
Bump version to 4.4.3
Greg Sabino Mullane [Thu, 17 Mar 2011 00:45:21 +0000 (20:45 -0400)]
Ready for 4.4.2 release
Greg Sabino Mullane [Wed, 16 Mar 2011 13:31:23 +0000 (09:31 -0400)]
Don't test glog calls yet.
Greg Sabino Mullane [Tue, 15 Mar 2011 23:22:22 +0000 (19:22 -0400)]
Get everything back to a consistent 4.4.2 and prepare for a release.
Bucardo 5 will be its own branch, more than likely.
Greg Sabino Mullane [Tue, 9 Nov 2010 14:57:02 +0000 (09:57 -0500)]
Time zone adjustment should be local to the function.
Greg Sabino Mullane [Thu, 9 Sep 2010 20:00:56 +0000 (16:00 -0400)]
Minor comment tweaks.
Greg Sabino Mullane [Thu, 9 Sep 2010 19:55:14 +0000 (15:55 -0400)]
Only show msec to three places in log
Greg Sabino Mullane [Thu, 9 Sep 2010 19:54:23 +0000 (15:54 -0400)]
Load async constants for DBD::Pg
Greg Sabino Mullane [Thu, 9 Sep 2010 19:52:58 +0000 (15:52 -0400)]
Flush out subroutine comment headers
Greg Sabino Mullane [Thu, 9 Sep 2010 19:51:12 +0000 (15:51 -0400)]
Report DBI and DBD::Pg versions in log on startup
Greg Sabino Mullane [Tue, 7 Sep 2010 17:41:42 +0000 (13:41 -0400)]
Latest Changes
Greg Sabino Mullane [Tue, 7 Sep 2010 17:41:06 +0000 (13:41 -0400)]
Allow 'bucardo_ctl status' to run even if piddir is not available.
Greg Sabino Mullane [Sun, 5 Sep 2010 19:28:55 +0000 (15:28 -0400)]
Remove perlcritic pragmas - no longer needed.
Greg Sabino Mullane [Thu, 2 Sep 2010 23:47:19 +0000 (19:47 -0400)]
Update Changes file
Greg Sabino Mullane [Thu, 2 Sep 2010 23:42:42 +0000 (19:42 -0400)]
Add 'default_standard_conflict' setting, per idea from Franz Dürr.
Greg Sabino Mullane [Thu, 2 Sep 2010 20:35:42 +0000 (16:35 -0400)]
Update the Changes file.
Greg Sabino Mullane [Thu, 2 Sep 2010 16:09:51 +0000 (12:09 -0400)]
Fix for timestamptz testing.