public class GtidUtils extends Object
Constructor and Description |
---|
GtidUtils() |
Modifier and Type | Method and Description |
---|---|
static io.debezium.connector.mysql.GtidSet |
fixRestoredGtidSet(io.debezium.connector.mysql.GtidSet serverGtidSet,
io.debezium.connector.mysql.GtidSet restoredGtidSet)
This method corrects the GTID set that has been restored from a state or checkpoint using the
GTID set fetched from the server via SHOW MASTER STATUS.
|
static io.debezium.connector.mysql.GtidSet |
mergeGtidSetInto(io.debezium.connector.mysql.GtidSet base,
io.debezium.connector.mysql.GtidSet toMerge)
This method merges one GTID set (toMerge) into another (base), without overwriting the
existing elements in the base GTID set.
|
public static io.debezium.connector.mysql.GtidSet fixRestoredGtidSet(io.debezium.connector.mysql.GtidSet serverGtidSet, io.debezium.connector.mysql.GtidSet restoredGtidSet)
public static io.debezium.connector.mysql.GtidSet mergeGtidSetInto(io.debezium.connector.mysql.GtidSet base, io.debezium.connector.mysql.GtidSet toMerge)
Copyright © 2024 The Apache Software Foundation. All rights reserved.