Update issue 1027
Try to close connection even if reduce threw an exception

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2616 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update issue 1027
Closing THL connection when releasing THL
Otherwise this kept a connection opened even if the service was put offline

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2617 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Useless to connect in getCatalogConnection() as the connection returned by getWrappedConnection is already connected

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2618 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update issue 1028
Don't reduce or clear catalog on a SqlDataSource that does not have a catalog

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2619 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update some load_default_value methods to help prevent infinite loops TUC-2337


git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2620 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update Issue 1029
Status: QA
Tester: Jeff

Added Change Data Capture logging to Redshift loader. This needs QA and documenting.

Enable by:

1.) Create CDC tables (which have the same structure as staging, but named differently and/or exist in a different schema). Ask ddlscan for help (you'll see new renameSchema and renameTable options):

ddlscan -service my_red -db test -template ddl-mysql-redshift-staging.vm -opt help

Example:

ddlscan -service my_red -db test -template ddl-mysql-redshift-staging.vm -opt renameSchema cdc_{schema} -opt renameTable {table}_cdc

Then create these tables (careful to not to drop staging schema if CDC's schema name was left the same).

2.) Add corresponding parameter to share/s3-config-<svc>.json. Example:

"storeCDCIn" : "cdc_{schema}.{table}_cdc"

Note that the template must match what has been used in ddlscan.

3.) Restart slave Replicator and CDC should be logged.

Also, this commit changes loader's SQL logging to DEBUG level.

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2621 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update Issue 1029

Suggest cleaning up S3 files by default after consumption.

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2622 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Update issue 1024
Now dropping Tungsten catalog tables instead of tables individually

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2623 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928