Repository navigation
docs: Describe SESSION_TRACK_GTIDS in the OK packet - #862
Open
altmannmarcelo wants to merge 1 commit into
Open
altmannmarcelo wants to merge 1 commit into
altmannmarcelo wants to merge 1 commit into
Conversation
The Session State Information docs covered the other trackers but not SESSION_TRACK_GTIDS. Its layout was defined only in code, so client libraries parsed it wrong. Describe its data field: an int<lenenc> encoding spec, where only 0 is defined, followed by the GTID set as a string<lenenc>. Note when the server sends it, and add an example captured with session_track_gtids = ALL_GTIDS.
altmannmarcelo
requested review from
gopshank and
seemasundara
as code owners
October 20, 2026 17:34
There was a problem hiding this comment.
No high-confidence defects found in this documentation-only change. Checked the documented layout and send conditions against the server encoder and client decoder, and validated the example's tracker type, length fields, and GTID text. No PR code or test scripts were executed.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
ab.chatgpt.com
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "ab.chatgpt.com"See Network Configuration for more information.
Generated by Codex PR Review for #862 · codex · gpt60 · 57.6 AIC · ⌖ 23.8 AIC · ⊞ 13.9K
Comment /codex to run again
5 of 7 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this change do?
Describe its data field: an int encoding spec, where only 0 is defined, followed by the GTID set as a string. Note when the server sends it, and add an example captured with session_track_gtids = ALL_GTIDS.
Why is it needed?
The Session State Information docs covered the other trackers but not SESSION_TRACK_GTIDS. Its layout was defined only in code, so client libraries parsed it wrong.
How was it tested?
mysql-test/scripts/ci/mtr.shpasses locallyContributor checklist
scripts/ci/format.sh)AI assistance
If AI assistance was used, describe the tool(s) and extent of use:
Claude used to brainstorm and find the functions in the source code.
Areas touched
Docs