-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add GTID support for binlog streaming #1584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
9927217
WIP: add GTID support
meiji163 4851e63
Cleanp
timvaillancourt 4c70abe
Add doc for flag
timvaillancourt 89a40db
Rename GTIDSet var
timvaillancourt 2901ac2
Fix GTID SID parsing
timvaillancourt 27160e3
Cleanup
timvaillancourt 1cf3f4c
Add to docs
timvaillancourt 7e54607
Require enforce_gtid_consistency=ON
timvaillancourt 6de0e2e
Rename validator func
timvaillancourt 70fc75c
simplify check in validateBinlogsAndGTID()
timvaillancourt 977ee3d
Only update GTIDSet if there was no err
timvaillancourt eafe840
Simplify GTIDEvent -> GTIDSet
timvaillancourt 3130fd4
Simplify GTIDEvent -> GTIDSet further, resolve go.uuid dep issue
timvaillancourt c60a86c
Fix UUIDSet GNO
timvaillancourt fbcbf5b
Add .ParseGTIDBinlogCoordinates()
timvaillancourt 21643da
Add missing smaller-than/equal logic
timvaillancourt c34b437
Comment-out WIP test
timvaillancourt 49e9920
Fail on SID change
timvaillancourt 56e9080
Fix import err
timvaillancourt 6e2c5b6
Add missing .Equals() check
timvaillancourt 77d2c58
Fix .SmallerThan()/.SmallerThanEquals() funcs and tests
timvaillancourt 29953f6
Fix type change issues
timvaillancourt 9166dea
Fix panics
timvaillancourt baf92e7
Cleanup .SmallerThan()
timvaillancourt ec04b98
Add missing check in .Equals()
timvaillancourt 089ced9
Add large GTID sets to test
timvaillancourt 51e0276
Simplify if cond
timvaillancourt dee9dfe
Add localtest/gtid
timvaillancourt 0413c2a
simplify localtest gtid_mode check
timvaillancourt d5a163d
print gtid config
timvaillancourt d614b40
Fix var typo
timvaillancourt 551e6d0
support enforce_gtid_consistency=1
timvaillancourt 76691cb
fix test
timvaillancourt 472abbe
Handle PreviousGTIDsEvent
timvaillancourt 7cd643b
gofmt
timvaillancourt 9db9a32
Create `validateGTIDConfig` func
timvaillancourt f472fbd
Update copyrights
timvaillancourt 13d218e
Update copyrights pt 2
timvaillancourt 713f70b
Copyrights again
timvaillancourt a2b178b
Update docs
timvaillancourt a328c22
WIP
timvaillancourt ca0499b
WIP
timvaillancourt 788911d
fix BinlogCoordinates interface usage
meiji163 9e76411
add binlog stream retry and toxiproxy test
meiji163 afb6e5c
fix max retry
meiji163 c2044cc
use AddGTID instead of AddSet
meiji163 59f2581
remove previous GTID event handling
meiji163 82e51cc
Merge remote-tracking branch 'origin' into add-gtid
meiji163 0794428
use AddSet
meiji163 de0417a
modify GTID coord tracking
meiji163 38fd3be
fix last trx coords
meiji163 5ce8778
re-enable Binlogsyncer retry
meiji163 a3684dd
fix localtest arg
meiji163 a3272a0
Merge remote-tracking branch 'origin' into add-gtid
meiji163 f3ac19c
remove unneccesary coordinate check
meiji163 99626bc
rm unused funcs
meiji163 ed0eba9
add back ReplicaTermFor
meiji163 1cd6095
Update localtests/test.sh
meiji163 6ef3086
Merge branch 'master' into add-gtid
meiji163 1a135cf
Merge branch 'master' into add-gtid
meiji163 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.