-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add default collation to VTGate and VTTablet #9097
Merged
Merged
Changes from 41 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
659e0e6
Addition of the charset and names flags to vtgate
frouioui 0578be8
Passing the charset from vtgate to vttablet and checking if they match
frouioui a2eb67a
Changed vtgate's charset flag to collation flag and propage the infor…
frouioui 8ee6f0f
Small doc and error handling in vttablet server improvements
frouioui 57f5280
Improved the way we set the character set during the handshake protoc…
frouioui 2f38629
Improved the creation of mysql connection using a variable collation
frouioui b684fe8
applied golint in vtgate.go
frouioui 4ad52c9
Set the conn collation after creating the MySQL conn, to avoid collat…
frouioui 50f94a3
fixed tabletserver unit tests
frouioui 56d0fa8
fixed writer_test's TestCreateSchema test
frouioui f58a87c
changed vttest to use new default collation
frouioui aa23ba1
tee go-junit output and set different collation for vttablet's shardi…
frouioui e9b5fca
changed default utf8mb4 collation to utf8mb4_general_ci
frouioui 95723d2
updated metadata and batch tests
frouioui 0d2b315
updated vtcombo to be aware of the collation to use
frouioui 536ce76
fixed dbconfig and rpc query tests
frouioui d93d3d2
removed additional set collation_connection queries in vtexplain unit…
frouioui 38d5678
proper charset number and column length for compatibility tests
frouioui c975e87
reverted ci workflow changes
frouioui b29b3e6
Integration of collation environment in vttablet to use proper charse…
frouioui 6215166
Fixed tabletserver unit tests with new default collation
frouioui 09fcaaf
update query.pb.go with new hash
frouioui 1400721
set charset and collation in vttestserver connection
frouioui 111fa5c
changed default collation for vttablet in E2E's cluster process
frouioui 494d339
addition of charset to the mysqlConn in end to end tests
frouioui ee60a33
fixed more mysql E2E tests with the default charset/collation
frouioui c3cbb8d
revert not required changes
frouioui a94b7ce
put long calls of VttabletProcessInstance on separate lines
frouioui c3a3565
cleaned up not required changes
frouioui cc3b14f
improve testHandler ComQuery implementation to return non-empty results
frouioui 79d640c
skip collation_connection set check in vtworker tests using fakesqldb
frouioui 6120cb5
collations: changed how we match server version strings for MariaDB t…
frouioui 788844c
fixed collation matching between vtgate and vttablet
frouioui 5004a2d
set collation in recovery E2E tests
frouioui 20fdad9
send tablet's server version to vtgate and build collation environmen…
frouioui 821583a
more forgiving tablet when collation are not matching in ExecuteOptions
frouioui 95785fe
changed how we resolve mysql version in vttablet to be more forgiving
frouioui a7f9d55
storing vtgate default collation in the executor and more forgiving e…
frouioui e3a88fb
set vtgate collation from a goroutine using a health check subscribe
frouioui 05d54ab
fixed comments and moved DbServerName to Tablet proto instead of Target
frouioui 303c3d1
improved overall code readability
frouioui a56fe1d
feat: move collation and collation env to mysql.Conn instead of connP…
frouioui ff1e36c
Merge remote-tracking branch 'upstream/main' into default-collation
frouioui 4dceba6
feat: address review comments
frouioui 0161dd7
Merge remote-tracking branch 'upstream/main' into default-collation
frouioui cb5bf71
feat: added a todo in query executor to fail collation mismatch
frouioui 5936dff
collations: more resilient support for server versions
vmg 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ these comments