DBZ-8140 Validate log position method missing gtid info from SourceInfo
This commit is contained in:
parent
8ca16ee452
commit
4f500b60e2
@ -170,6 +170,7 @@ public void setBinlogStartPoint(String binlogFilename, long positionOfFirstEvent
|
|||||||
* have been previously processed
|
* have been previously processed
|
||||||
*/
|
*/
|
||||||
public void setCompletedGtidSet(String gtidSet) {
|
public void setCompletedGtidSet(String gtidSet) {
|
||||||
|
sourceInfo.startGtid(gtidSet);
|
||||||
if (gtidSet != null && !gtidSet.trim().isEmpty()) {
|
if (gtidSet != null && !gtidSet.trim().isEmpty()) {
|
||||||
// Remove all the newline chars that exist in the GTID set string ...
|
// Remove all the newline chars that exist in the GTID set string ...
|
||||||
String trimmedGtidSet = gtidSet.replace("\n", "").replace("\r", "");
|
String trimmedGtidSet = gtidSet.replace("\n", "").replace("\r", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user