Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set interface { Set(mysql.GTIDSet) error // compute set of self and other gtid set // 1. keep intersection of self and other gtid set // 2. keep complementary set of other gtid set except master identifications that not in self gtid // masters => master identification set, represents which db instances do write in one replicate group // example: self gtid set [xx:1-2, yy:1-3, xz:1-4], other gtid set [xx:1-4, yy:1-12, xy:1-3]. master ID set [xx] // => [xx:1-2, yy:1-3, xy:1-3] // more examples ref test cases Replace(other Set, masters []interface{}) error Clone() Set Origin() mysql.GTIDSet Equal(other Set) bool Contain(other Set) bool String() string }
Set provide gtid operations for syncer
func ParserGTID ¶
ParserGTID parses GTID from string
Click to show internal directories.
Click to hide internal directories.