-
Notifications
You must be signed in to change notification settings - Fork 55
[MySQL] Fix idle keepalive LSN stall and multi-server-UUID GTID parsing #706
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
Rentacookie
merged 13 commits into
main
from
fix/mysql-idle-keepalive-and-gtid-set-parsing
Aug 11, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
bb68304
[MySQL] Fix checkpoints stalling on idle servers
michaelbarnes 8e9420d
[MySQL] Fix GTID parsing for multi-server-UUID GTID sets
michaelbarnes 3e225c1
Merge branch 'main' into fix/mysql-idle-keepalive-and-gtid-set-parsing
Rentacookie 436683e
Merge branch 'main' into fix/mysql-idle-keepalive-and-gtid-set-parsing
Rentacookie ab7af18
Warn when multiple server UUIDs are detected in the GTID set or on th…
bean1352 e773be7
Order LSNs by the connected server's GTID counter
bean1352 b6ac720
Refactored GTID parsing and serialization logic in `ReplicatedGTID` f…
Rentacookie 0492075
Add replica check to MySQL source configuration with version-based sy…
Rentacookie 36817b7
Enforce active server UUID consistency in MySQL replication to preven…
Rentacookie f58faa7
Updated changeset
Rentacookie e3ca1d4
Ensure active server UUID is always set
Rentacookie ce722ec
Handle GTID reset for a restored mysql server with a different UUID
Rentacookie 8b5cf9b
Improve GTID initialization logic
Rentacookie 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@powersync/service-module-mysql': minor | ||
| --- | ||
|
|
||
| Improve MySQL GTID consistency and resume safety. PowerSync now derives replication heads from the active server's executed GTID set, validates stored GTIDs and binlog coordinates before resuming, and re-snapshots after source rewinds or server UUID changes. Replica sources and foreign-origin binlog transactions are rejected until multi-origin transaction ordering is supported, while heartbeat keepalives use the last committed position to prevent idle checkpoint stalls. |
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.
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.