thl dsctl
Version availability
Available in 7.0.2 and later.
The thl dsctl command outputs a dsctl command that can be executed against a replicator to assist in repositioning.
The command is displayed only, it is not executed
Usage
thl dsctl [common-options] [arguments]
Where:
| Option | Description | Version |
|---|---|---|
-event | Outputs dsctl command for a given event. | |
-first | Outputs dsctl command for the first THL entry available. | 7.1.4 |
-last | Outputs dsctl command for the last THL entry available. | 7.1.4 |
-seqno | Outputs dsctl command for a given sequence number. |
-
Output a
dsctlcommand for the given eventid, for example:shell> thl dsctl -event mysql-bin.000017:0000000074628349dsctl -service alpha set -reset -seqno 916 -epoch 538 -event-id "mysql-bin.000017:0000000074628349;62" -source-id "centos1" -
Output a
dsctlcommand for the given sequence number, for example:shell> thl dsctl -seqno 916dsctl -service alpha set -reset -seqno 916 -epoch 538 -event-id "mysql-bin.000017:0000000074628349;62" -source-id "centos1" -
Outputs a
dsctlcommand for either the first or last seqno available:Version availabilityAvailable in 7.1.4 and later.
shell> thl dsctl -firstdsctl -service alpha set -reset -seqno 1 -epoch 538 -event-id "mysql-bin.000001:0000000000008349;62" -source-id "centos1"shell> thl dsctl -lastdsctl -service alpha set -reset -seqno 237 -epoch 538 -event-id "mysql-bin.000001:0000000002791835;41" -source-id "centos1"