Version Support: 2.2.0
The script was added in Tungsten Replicator 2.2.0. It cannot be backported to older versions.
The tungsten_read_master_events displays the raw contents of the master datasource for the given THL records. It implements the Tungsten Script Interface as well as these additional options.
--directory ] [
--force ] [
-h ] [
--high ] [
-i ] [
--json ] [
--low ] [
--net-ssh-option ] [
-n ] [
--service ] [
--source ] [
--validate ] [
Table 9.36. tungsten_read_master_events Command-line Options
|The $CONTINUENT_ROOT directory to use for running this command. It will default to the directory you use to run the script.|
|Continue operation even if script validation fails|
|Show help text|
|Display events ending with this sequence number|
|Display info, notice, warning, and error messages|
|Output all messages and the return code as a JSON object|
|Display events starting with this sequence number|
|Provide custom SSH options to use for SSH communication to other hosts.|
|Display notice, warning, and error messages|
|Replication service to read information from|
|Determine metadata for the --after, --low, --high statements from this host|
|Only run script validation|
|Show verbose information during processing|
Display all information after a specific sequence number
This may be used when you have had a master failover or would like to see everything that happened after a certain event. It will read the start position from the sequence number passed and allow you to see all events, even if they were not extracted by the replication service.
If you provide the --source option, the script will SSH to the host in question and read its THL information.
Display information between two sequence numbers
This will show the raw master data between the two sequence numbers. It is inclusive so the information for the --low option will be included. This will only work if the sourceId for both sequence numbers is the same.
tungsten_read_master_events --low=4582 --high=4725
The script only works with MySQL at this time.
The script was added in Continuent Tungsten 2.0.1 and Tungsten Replicator 2.2.0. It cannot be backported to older versions.