bucardo.git
13 years agoTesting tweaks
Greg Sabino Mullane [Thu, 23 Aug 2012 14:34:57 +0000 (10:34 -0400)]
Testing tweaks

13 years agoNote recent bug
Greg Sabino Mullane [Thu, 19 Jul 2012 11:29:27 +0000 (07:29 -0400)]
Note recent bug

13 years agoNew siganture for 4.99.5 4.99.5
Greg Sabino Mullane [Thu, 31 May 2012 17:40:16 +0000 (13:40 -0400)]
New siganture for 4.99.5

13 years agoUpdate MANIFEST
Greg Sabino Mullane [Thu, 31 May 2012 17:39:54 +0000 (13:39 -0400)]
Update MANIFEST

13 years agoBump to version 4.99.5: get ready for next beta
Greg Sabino Mullane [Thu, 31 May 2012 17:36:59 +0000 (13:36 -0400)]
Bump to version 4.99.5: get ready for next beta

13 years agoMinor sprintf fix to bucardo
Greg Sabino Mullane [Mon, 21 May 2012 16:50:08 +0000 (12:50 -0400)]
Minor sprintf fix to bucardo

13 years agoWe have column names with underscores, thank you very much.
Greg Sabino Mullane [Thu, 10 May 2012 19:39:33 +0000 (15:39 -0400)]
We have column names with underscores, thank you very much.

13 years agoMake the summary usage message more consistent with the man page.
Ali Asad Lotia [Wed, 9 May 2012 20:56:39 +0000 (16:56 -0400)]
Make the summary usage message more consistent with the man page.
Items are listed in similar order on both pages. Additionally,
customname, customcols and customcode are mentioned in the usage
message. Finally the usage information for customname, customcols
and customcode are added to the man page.

13 years agoTesting tweaks.
Greg Sabino Mullane [Wed, 9 May 2012 00:02:09 +0000 (20:02 -0400)]
Testing tweaks.

13 years agoSwitch back to Redis, as Redis::Client does not die smoothly on connection errors.
Greg Sabino Mullane [Tue, 8 May 2012 20:30:52 +0000 (16:30 -0400)]
Switch back to Redis, as Redis::Client does not die smoothly on connection errors.

13 years agoMake sure we remove the tschema test schema in our tests.
Greg Sabino Mullane [Tue, 8 May 2012 20:01:37 +0000 (16:01 -0400)]
Make sure we remove the tschema test schema in our tests.

13 years agoAllow spaces in customnames
Greg Sabino Mullane [Tue, 8 May 2012 19:47:25 +0000 (15:47 -0400)]
Allow spaces in customnames

13 years agoTentative support for multi-column primary keys in MongoDB
Greg Sabino Mullane [Tue, 8 May 2012 19:46:57 +0000 (15:46 -0400)]
Tentative support for multi-column primary keys in MongoDB

13 years agoChanges file cleanups
Greg Sabino Mullane [Mon, 30 Apr 2012 14:15:54 +0000 (10:15 -0400)]
Changes file cleanups

13 years agoDo not map NULL values to Mongo but simply drop them, as MongoDB is schemaless.
Ali Asad Lotia [Mon, 30 Apr 2012 14:12:02 +0000 (10:12 -0400)]
Do not map NULL values to Mongo but simply drop them, as MongoDB is schemaless.

13 years agoQuick inline notes on how to handle common data mismatch problem.
Greg Sabino Mullane [Sun, 29 Apr 2012 19:00:02 +0000 (15:00 -0400)]
Quick inline notes on how to handle common data mismatch problem.

13 years agoChunk up the MongoDB deletes so as not to overwhelm the server on large tables.
Greg Sabino Mullane [Sun, 29 Apr 2012 03:37:46 +0000 (23:37 -0400)]
Chunk up the MongoDB deletes so as not to overwhelm the server on large tables.
May still require changing statement_chunk_size

13 years agoShould be setting, not value
Ed Snajder [Sun, 29 Apr 2012 02:38:50 +0000 (22:38 -0400)]
Should be setting, not value

13 years agoBetter lookup for old bucardo_sequence tables.
Greg Sabino Mullane [Sun, 29 Apr 2012 02:12:40 +0000 (22:12 -0400)]
Better lookup for old bucardo_sequence tables.
Per mailing list question from Ed Snajder

13 years agoCredit last change.
Greg Sabino Mullane [Sat, 28 Apr 2012 23:59:31 +0000 (19:59 -0400)]
Credit last change.

13 years agoAdd 'bucardo list all' to list everything at once.
Christian Recktenwald [Sat, 28 Apr 2012 23:58:14 +0000 (19:58 -0400)]
Add 'bucardo list all' to list everything at once.

13 years agoAdd "one logfile per sync" idea from the ML.
Greg Sabino Mullane [Mon, 23 Apr 2012 19:27:25 +0000 (15:27 -0400)]
Add "one logfile per sync" idea from the ML.

13 years agoFix up table names now that we are capping test3
Greg Sabino Mullane [Wed, 18 Apr 2012 15:18:05 +0000 (11:18 -0400)]
Fix up table names now that we are capping test3

13 years agoTry again for a unique var name
Greg Sabino Mullane [Wed, 18 Apr 2012 14:07:38 +0000 (10:07 -0400)]
Try again for a unique var name

13 years agoDon't use variable names when a column name already exists - some versions of plpgsql...
Greg Sabino Mullane [Tue, 17 Apr 2012 22:04:45 +0000 (18:04 -0400)]
Don't use variable names when a column name already exists - some versions of plpgsql will get confused.

13 years agoShow full name of relation when giving deadlock details. Fix missing comma.
Greg Sabino Mullane [Mon, 2 Apr 2012 16:45:34 +0000 (12:45 -0400)]
Show full name of relation when giving deadlock details. Fix missing comma.

13 years agoSpellcheck tweaks
Greg Sabino Mullane [Tue, 27 Mar 2012 21:19:13 +0000 (17:19 -0400)]
Spellcheck tweaks

13 years agoFinish up the Redis work, including a new test.
Greg Sabino Mullane [Tue, 27 Mar 2012 20:28:15 +0000 (16:28 -0400)]
Finish up the Redis work, including a new test.
Also switch from the Redis Perl driver the Redis::Client, as the latter has hash support.

13 years agoMinor typos.
Greg Sabino Mullane [Tue, 27 Mar 2012 20:26:36 +0000 (16:26 -0400)]
Minor typos.

13 years agoMinor TODO updates.
Greg Sabino Mullane [Fri, 23 Mar 2012 16:30:25 +0000 (12:30 -0400)]
Minor TODO updates.

13 years agoAdd support for MariaDB
Greg Sabino Mullane [Thu, 22 Mar 2012 19:58:15 +0000 (15:58 -0400)]
Add support for MariaDB

13 years agoTesting tweaks for SQLite
Greg Sabino Mullane [Thu, 22 Mar 2012 18:38:21 +0000 (14:38 -0400)]
Testing tweaks for SQLite

13 years agoNo backticks!
Greg Sabino Mullane [Thu, 22 Mar 2012 18:32:54 +0000 (14:32 -0400)]
No backticks!

13 years agoTypo help.
Greg Sabino Mullane [Thu, 22 Mar 2012 18:28:36 +0000 (14:28 -0400)]
Typo help.

13 years agoUpdate testing suite for MySQL.
Greg Sabino Mullane [Thu, 22 Mar 2012 18:28:21 +0000 (14:28 -0400)]
Update testing suite for MySQL.

13 years agoAdjust for case-sensitive table names in testing.
Greg Sabino Mullane [Wed, 21 Mar 2012 18:08:12 +0000 (14:08 -0400)]
Adjust for case-sensitive table names in testing.

13 years agoVarious small tweaks.
Greg Sabino Mullane [Sun, 18 Mar 2012 20:38:57 +0000 (16:38 -0400)]
Various small tweaks.

13 years agoCleanup of conflict code
Greg Sabino Mullane [Sun, 18 Mar 2012 12:45:21 +0000 (08:45 -0400)]
Cleanup of conflict code

13 years agoLower default sleeps; making testing too painful. :)
Greg Sabino Mullane [Sun, 18 Mar 2012 12:42:34 +0000 (08:42 -0400)]
Lower default sleeps; making testing too painful. :)

13 years agoExpand test coverage.
Greg Sabino Mullane [Sun, 18 Mar 2012 12:42:23 +0000 (08:42 -0400)]
Expand test coverage.

13 years agoRemove unused sub. Better debug output during testing.
Greg Sabino Mullane [Sun, 18 Mar 2012 12:41:50 +0000 (08:41 -0400)]
Remove unused sub. Better debug output during testing.

13 years agoSleep a bit after we fork the VAC daemon, to decrease the chances of things blowing...
Greg Sabino Mullane [Fri, 16 Mar 2012 17:41:09 +0000 (13:41 -0400)]
Sleep a bit after we fork the VAC daemon, to decrease the chances of things blowing up if the MCP dies before we call inactivedestroy on the forked handles.

13 years agoBetter checking of "identical" default column expressions.
Greg Sabino Mullane [Fri, 16 Mar 2012 03:17:41 +0000 (23:17 -0400)]
Better checking of "identical" default column expressions.

13 years agoThere are some other related issues, but might as well fix this up in a commit.
Greg Sabino Mullane [Wed, 14 Mar 2012 12:58:00 +0000 (08:58 -0400)]
There are some other related issues, but might as well fix this up in a commit.

13 years agoAllow timestamp columns to not match on startup.
Greg Sabino Mullane [Thu, 8 Mar 2012 20:44:46 +0000 (15:44 -0500)]
Allow timestamp columns to not match on startup.

13 years agoFix up quoting of tablenames.
Greg Sabino Mullane [Thu, 8 Mar 2012 20:41:09 +0000 (15:41 -0500)]
Fix up quoting of tablenames.
Redo the truncate support.
Test with mixed-case tablenames.

13 years agoTest counting tweaks.
Greg Sabino Mullane [Fri, 2 Mar 2012 19:35:54 +0000 (14:35 -0500)]
Test counting tweaks.

13 years agoSequence testing.
Greg Sabino Mullane [Fri, 2 Mar 2012 04:47:41 +0000 (23:47 -0500)]
Sequence testing.

13 years agoFixes for sequences
Greg Sabino Mullane [Fri, 2 Mar 2012 04:47:13 +0000 (23:47 -0500)]
Fixes for sequences

13 years agoAdd tests for sequences.
Greg Sabino Mullane [Tue, 28 Feb 2012 15:27:27 +0000 (10:27 -0500)]
Add tests for sequences.

13 years agoDo not show "old" sequence information if this is a fullcopy, as we are simply blowin...
Greg Sabino Mullane [Tue, 28 Feb 2012 15:09:00 +0000 (10:09 -0500)]
Do not show "old" sequence information if this is a fullcopy, as we are simply blowing it away.

13 years agoMake it easier to add sequences to a herd
Greg Sabino Mullane [Tue, 28 Feb 2012 14:56:07 +0000 (09:56 -0500)]
Make it easier to add sequences to a herd

13 years agoTesting infra: detect sequence diffs.
Greg Sabino Mullane [Tue, 28 Feb 2012 13:39:38 +0000 (08:39 -0500)]
Testing infra: detect sequence diffs.

13 years agoMore support for my horrible typing skills.
Greg Sabino Mullane [Mon, 27 Feb 2012 21:31:36 +0000 (16:31 -0500)]
More support for my horrible typing skills.

13 years agoRemove debug message.
Greg Sabino Mullane [Mon, 27 Feb 2012 21:15:46 +0000 (16:15 -0500)]
Remove debug message.

13 years agoTesting cleanups.
Greg Sabino Mullane [Mon, 27 Feb 2012 21:15:15 +0000 (16:15 -0500)]
Testing cleanups.

13 years agoBetter summary output.
Greg Sabino Mullane [Mon, 27 Feb 2012 12:47:25 +0000 (07:47 -0500)]
Better summary output.

13 years agoMore support for non-standard table names.h
Greg Sabino Mullane [Mon, 27 Feb 2012 12:37:01 +0000 (07:37 -0500)]
More support for non-standard table names.h

13 years agoAdd table with a space to the tests, small adjustments so such tables work.
Greg Sabino Mullane [Sun, 26 Feb 2012 13:11:22 +0000 (08:11 -0500)]
Add table with a space to the tests, small adjustments so such tables work.

13 years agoCleanup the fullcopy test, and refactor things into BucardoTesting.pm
Greg Sabino Mullane [Sun, 26 Feb 2012 00:36:11 +0000 (19:36 -0500)]
Cleanup the fullcopy test, and refactor things into BucardoTesting.pm

13 years agoMore fullcopy/onetimecopy changes.
Greg Sabino Mullane [Sat, 25 Feb 2012 05:31:01 +0000 (00:31 -0500)]
More fullcopy/onetimecopy changes.

13 years agoMessages cleaning
Greg Sabino Mullane [Sat, 25 Feb 2012 05:30:33 +0000 (00:30 -0500)]
Messages cleaning

13 years agoMore cleanup of the fullcopy/onetimecopy system.
Greg Sabino Mullane [Sat, 25 Feb 2012 04:48:02 +0000 (23:48 -0500)]
More cleanup of the fullcopy/onetimecopy system.

13 years agoStill on the fence about repeatable read vs serializable, but let's aim for less...
Greg Sabino Mullane [Fri, 24 Feb 2012 19:15:52 +0000 (14:15 -0500)]
Still on the fence about repeatable read vs serializable, but let's aim for less deadlocks with some slight overhead for the true serializability. See my blog post for more :)

13 years agoShow if a sync is fullcopy or not
Greg Sabino Mullane [Fri, 24 Feb 2012 17:45:29 +0000 (12:45 -0500)]
Show if a sync is fullcopy or not

13 years agoOnly run the VAC daemon if we have eligible databases.
Greg Sabino Mullane [Fri, 24 Feb 2012 17:42:39 +0000 (12:42 -0500)]
Only run the VAC daemon if we have eligible databases.

13 years agoFix typo regarding piddir
Greg Sabino Mullane [Fri, 24 Feb 2012 13:34:50 +0000 (08:34 -0500)]
Fix typo regarding piddir

13 years agoVAC daemon cleanups
Greg Sabino Mullane [Fri, 24 Feb 2012 04:44:35 +0000 (23:44 -0500)]
VAC daemon cleanups

13 years agoWrong setting!
Greg Sabino Mullane [Fri, 24 Feb 2012 04:37:20 +0000 (23:37 -0500)]
Wrong setting!

13 years agoMake sure vac cannot accidentally use other database handles.
Greg Sabino Mullane [Thu, 23 Feb 2012 23:16:25 +0000 (18:16 -0500)]
Make sure vac cannot accidentally use other database handles.

13 years agoHandle schema-less vacuum attempts gracefully.
Greg Sabino Mullane [Thu, 23 Feb 2012 21:51:49 +0000 (16:51 -0500)]
Handle schema-less vacuum attempts gracefully.
Should be rare in the future as we will filter those dbs out earlier.

13 years agoTesting tweaks.
Greg Sabino Mullane [Thu, 23 Feb 2012 21:32:57 +0000 (16:32 -0500)]
Testing tweaks.

13 years agoFix up "bestdb" bits
Greg Sabino Mullane [Thu, 23 Feb 2012 21:27:35 +0000 (16:27 -0500)]
Fix up "bestdb" bits

13 years agoTypo in herdmap lookup
Greg Sabino Mullane [Thu, 23 Feb 2012 21:18:34 +0000 (16:18 -0500)]
Typo in herdmap lookup

13 years agoBetter fullcopy support in validate_sync
Greg Sabino Mullane [Thu, 23 Feb 2012 21:07:36 +0000 (16:07 -0500)]
Better fullcopy support in validate_sync

13 years agoRearrange bucardo_config into the more standard "name" and "setting"
Greg Sabino Mullane [Thu, 23 Feb 2012 19:00:22 +0000 (14:00 -0500)]
Rearrange bucardo_config into the more standard "name" and "setting"
Add sync.synctype back in, so we can tell 'delta' from 'fullcopy'

13 years agoMove the alter database after the create schema
Greg Sabino Mullane [Fri, 10 Feb 2012 13:39:54 +0000 (08:39 -0500)]
Move the alter database after the create schema

13 years agoBump to 4.99.4
Greg Sabino Mullane [Fri, 10 Feb 2012 13:30:19 +0000 (08:30 -0500)]
Bump to 4.99.4

13 years agoAllow alternate spelling of tables
Greg Sabino Mullane [Sun, 5 Feb 2012 23:54:53 +0000 (18:54 -0500)]
Allow alternate spelling of tables

13 years agoAllow alternate underscore format for bucardo, e.g. "bucardo list_dbgroups"
Greg Sabino Mullane [Wed, 1 Feb 2012 14:44:57 +0000 (09:44 -0500)]
Allow alternate underscore format for bucardo, e.g. "bucardo list_dbgroups"

13 years agoBump to 2012
Greg Sabino Mullane [Wed, 1 Feb 2012 14:41:15 +0000 (09:41 -0500)]
Bump to 2012

13 years agoMinor cleanups to the <verb>_database functions.
Greg Sabino Mullane [Tue, 24 Jan 2012 00:59:23 +0000 (19:59 -0500)]
Minor cleanups to the <verb>_database functions.

13 years agoMajor refactoring of the add_database function
Greg Sabino Mullane [Sun, 22 Jan 2012 22:54:39 +0000 (17:54 -0500)]
Major refactoring of the add_database function

13 years agoClean up add_database help, remove sourcelimit and targetlimit
Greg Sabino Mullane [Sun, 22 Jan 2012 21:41:52 +0000 (16:41 -0500)]
Clean up add_database help, remove sourcelimit and targetlimit

13 years agoHandle missing public schema
Greg Sabino Mullane [Fri, 20 Jan 2012 17:17:15 +0000 (12:17 -0500)]
Handle missing public schema

13 years agoSmall add_db tweasks.
Greg Sabino Mullane [Thu, 19 Jan 2012 22:09:10 +0000 (17:09 -0500)]
Small add_db tweasks.

13 years agoClean up add_database arguments
Greg Sabino Mullane [Thu, 19 Jan 2012 20:12:21 +0000 (15:12 -0500)]
Clean up add_database arguments

13 years agoPull in changes from the old branch
Greg Sabino Mullane [Thu, 19 Jan 2012 19:12:07 +0000 (14:12 -0500)]
Pull in changes from the old branch

13 years agoSequence reminder 4.99.3
Greg Sabino Mullane [Thu, 19 Jan 2012 19:06:40 +0000 (14:06 -0500)]
Sequence reminder

13 years agoQuick sleep in this test
Greg Sabino Mullane [Thu, 5 Jan 2012 21:48:27 +0000 (16:48 -0500)]
Quick sleep in this test

13 years agoMake sure we commit so we don't have the truncates waiting too long in the tests.
Greg Sabino Mullane [Thu, 5 Jan 2012 21:10:01 +0000 (16:10 -0500)]
Make sure we commit so we don't have the truncates waiting too long in the tests.

13 years agoNo need to complain about a failed unlink if the file is not there.
Greg Sabino Mullane [Thu, 5 Jan 2012 21:05:58 +0000 (16:05 -0500)]
No need to complain about a failed unlink if the file is not there.

13 years agosourcelimit and targetlimit no longer being used
Greg Sabino Mullane [Mon, 2 Jan 2012 05:48:20 +0000 (00:48 -0500)]
sourcelimit and targetlimit no longer being used

13 years agoCleanup; remove some unused configuration vars
Greg Sabino Mullane [Mon, 2 Jan 2012 05:46:23 +0000 (00:46 -0500)]
Cleanup; remove some unused configuration vars

13 years agoNo need for freezer schema anymore. Note how to invoke
Greg Sabino Mullane [Mon, 2 Jan 2012 05:30:38 +0000 (00:30 -0500)]
No need for freezer schema anymore. Note how to invoke

13 years agoRemove test SQLite database file on make clean
Greg Sabino Mullane [Mon, 2 Jan 2012 05:28:02 +0000 (00:28 -0500)]
Remove test SQLite database file on make clean

13 years agoDon't worry about other messages if we are a VAC process.
Greg Sabino Mullane [Fri, 16 Dec 2011 19:16:10 +0000 (14:16 -0500)]
Don't worry about other messages if we are a VAC process.

13 years agoName is "stopsync" not "stop_sync". Per error report from the list.
Greg Sabino Mullane [Fri, 16 Dec 2011 19:14:15 +0000 (14:14 -0500)]
Name is "stopsync" not "stop_sync". Per error report from the list.

13 years agoUse File::Spec->catfile everywhere
Greg Sabino Mullane [Fri, 16 Dec 2011 18:51:11 +0000 (13:51 -0500)]
Use File::Spec->catfile everywhere

13 years agoNo sense in having a full shebang, this should only ever be required by the Bucardo...
Greg Sabino Mullane [Fri, 16 Dec 2011 13:04:46 +0000 (08:04 -0500)]
No sense in having a full shebang, this should only ever be required by the Bucardo program.
Mild comment cleanup.