Version End of Life. 31 October 2018
This is a recommended release for all customers as it contains important updates and improvements to the stability of the manager component, specifically with respect to stalls and memory usage that would cause manager failures.
In addition, we recommend Java 7 for all Release Notes 2.0 installations. Continuent are aware of issues within Java 6 that cause memory leaks which may lead to excessive memory usage within the manager. This can cause the manager to run out of memory and restart, without affecting the operation of the dataservice. These problems do not exist within Java 7.
For more information, see Connector Keepalive.
The embedded JGroups service, which manages the communication and management of the manager service has been updated to the latest version. This improves the stability of the service, and removes some of the memory leaks causing manager stalls.
A number of issues the memory management on the Manager service, particularly with respect to the included JGroups support have been rectified. These issues caused the manager to use increased amounts of memory that could lead to the manager to stall.
The following changes have been made to Release Notes and may affect existing scripts and integration tools. Any scripts or environment which make use of these tools should check and update for the new configuration:
The tpm (in [Tungsten Replicator 2.1 Manual]) tool and configuration have been updated to support both older Oracle SIDs and the new JDBC URL format for Oracle service IDs. When configuring an Oracle service, use
--datasource-oracle-sid(in [Tungsten Replicator 2.1 Manual]) for older service specifications, and
--datasource-oracle-service(in [Tungsten Replicator 2.1 Manual]) for newer JDBC URL installations.
Templates have been added to the suite of DDL translation templates supported by ddlscan (in [Tungsten Replicator 2.1 Manual]) to support Oracle to MySQL replication. Two templates are included:
ddl-oracle-mysqlprovides standard translation of DDL when replicating from Oracle to MySQL
ddl-oracle-mysql-pk-onlyprovides standard translation of DDL including automatic selection of a primary key from the available unique indexes if no explicit primary key is defined within Oracle DDL when replicating to MySQL
ddlscan (in [Tungsten Replicator 2.1 Manual]) has been updated to support parsing of a file containing a list of tables to be parsed for DDL information. The file should be formatted as a CSV file, but only the first argument, table name, will be extracted. Lines starting with a # (hash) character are ignored.
The file is in the same format as used by setupCDC.sh (in [Tungsten Replicator 2.1 Manual]).
To use the file, supply the
-tableFile(in [Tungsten Replicator 2.2 Manual]) parameter to the command.
The replicator has been updated to support autorecovery from transient failures that would normally cause the replicator to go
OFFLINE(in [Tungsten Replicator 2.1 Manual]) while in either the
ONLINE(in [Tungsten Replicator 2.1 Manual]) or
GOING-ONLINE:SYNCHRONIZING(in [Tungsten Replicator 2.1 Manual]) state. This enables the replicator to recover from errors such as MySQL restarts, or transient connection errors.
The period, number of attempted recovery operations, and the delay before a recovery is considered successful are configurable through individual properties.
For more information, see Deploying Automatic Replicator Recovery.
VARCHARvalues were stored and represented within the replicator has been updated which improves performance significantly.
If the binary logs for MySQL were flushed and purged (using
PURGE BINARY LOGS), and then the replicator is restarted, the replicator would fail to identify and locate the newly created logs with an MySQLExtractException.
tpm (in [Tungsten Replicator 2.1 Manual]) would incorrectly identify options that accepted true/false values, which could cause incorrect interpretations, or subsequent options on the command-line to be used as true/false indications.
Removing an existing parallel replication configuration in [Tungsten Replicator 2.1 Manual] using tpm (in [Tungsten Replicator 2.1 Manual]) would cause the replicator to fail due to a mismatch in the status table and current configuration.
The tungsten_provision_slave (in [Continuent Tungsten 4.0 Manual]) tool would fail to correctly re-provision a master within a fan-in or multi-master configuration. When re-provisioning, the service should be reset with trepctl reset (in [Tungsten Replicator 2.1 Manual]).
The tungsten_provision_slave (in [Continuent Tungsten 4.0 Manual]) tool would re-provision using a slave in a
OFFLINE:ERROR(in [Tungsten Replicator 2.1 Manual]) state, even through this could create a second, invalid, slave deployment. Reprovisioning from a slave in the
ERRORstate is now blocked, unless the
-f(in [Continuent Tungsten 4.0 Manual]) or
--force(in [Continuent Tungsten 4.0 Manual]) option is used.
For more information, see The tungsten_provision_slave Script.
Tuning for the CDC extraction from Oracle has been updated to support both a minimum sleep time parameter,
minSleepTime, and the increment value used when increasing the sleep time between updates,
For more information, see Tuning CDC Extraction.
The URLs used for connecting to Oracle RAC SCAN addresses were not correct and were incompatible with non-RAC installations. The URL format has been updated to use a URL format that is compatible with both Oracle RAC and non-RAC installations.
When a timeout occurred on the connection to MySQL for the channel assignment service (part of parallel applier), the replicator would go offline, rather than retrying the connection. The service has now been updated to retry the connection if a timeout occurs. The default reconnect timeout is 120 seconds.
A slave replicator would incorrectly set the restart sequence number when reading from a master if the slave THL directory was cleared. This would cause slave replicators to fail to restart correctly.
Unsigned integers are extracted from the source database in a non-platform independent method. This would cause the Oracle applier to incorrectly attempt to apply negative values in place of their unsigned equivalents. The Oracle applier has been updated to correctly translate these values for types identified as unsigned to the correct value. When viewing these values are viewed within the THL, they will still be identified as a negative value.
For more information, see thl list Command.
mysqlsessionsupport(in [Tungsten Replicator 2.1 Manual]) filter would cause replication to fail when the default
thread_idwas set to -1, for example when
STRICT_ALL_TABLESSQL mode had been enabled. The replicator has been updated to interpret -1 as 0 to prevent this error.
rename(in [Tungsten Replicator 2.1 Manual]) filter has been updated so that renaming of only the schema name for STATEMENT events. Previously, only ROW events would be renamed by the filter.