-
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
boost: load query configs in vtgate #15582
Closed
Closed
Conversation
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
Signed-off-by: GuptaManan100 <[email protected]>
Signed-off-by: GuptaManan100 <[email protected]>
…lt-11.0 Fix for function calls in DEFAULT value of CREATE TABLE statement in release-11.0
…ion analysis did not update completed_timestamp. As result lifecycle would not run - retroactively updating completed_timestamp for existing NULL entries - liveness_timestamp now always set with started_timestamp, so that it is never NULL even if migration didn't report liveness. This is essential for detecting and marking stale migrations - when garbage collecting artifacts, RENAME statement would create collissions between artifacts of same migration. This is now solved by assigning distinct timestamps to artifacts of same migration - on the safe side, though there is no evidence this ever happened, whenever an artifact is added, we set cleanup_timestamp to be NULL Signed-off-by: Shlomi Noach <[email protected]>
…ration-compeleted-timestamp-release-11 Backport: Fixing multiple issues related to onlineddl/lifecycle
Signed-off-by: Rohit Nayak <[email protected]>
…-11.0 Change local example to use v2 vreplication flows
Signed-off-by: GuptaManan100 <[email protected]>
boolean values should not be parenthesised in default clause - release 11
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
…ss-migration-log-release-11 SHOW VITESS_MIGRATION '...' LOGS, retain logs for 24 hours
…am from Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
for testing Signed-off-by: GuptaManan100 <[email protected]> Co-authored-by: harshit-gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
…orrect error type Signed-off-by: Harshit Gangal <[email protected]>
… servers simultaneously Signed-off-by: GuptaManan100 <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
…routine leaks Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
…rable Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
…mming the logs. Fix logic for incrementing count of recurring error messages. Signed-off-by: Rohit Nayak <[email protected]>
[11.0] query serving to continue when topo server restarts
Backports of vitessio#8403 vitessio#8483 vitessio#8489 vitessio#8401 vitessio#8521 vitessio#8396 from main into release 11.0
…anetscale@81a2396 Signed-off-by: Vilius Okockis <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
…hannel might block the vstream thread if target channel goes away: context was not being checked then. Fix health stream goroutine leak. (vitessio#10571) Signed-off-by: Rohit Nayak <[email protected]> Signed-off-by: Matt Lord <[email protected]>
VStreamer: fix deadlock when there are a lot of vschema changes at the same time as binlog events (vitessio#11325) * Don't block on vschema channel in case of heavy vschema changes and vstream load Signed-off-by: Rohit Nayak <[email protected]> * Prevent VStreamer engine deadlocks during state transitions The VStreamer engine is somewhat unusual in two ways: 1. It is open and running on replica tablets rather than only running on primary tablets. 2. It has no controllers so the main engine mutex is widely shared. Because of this, when a tablet has open vstreams (direct binary log streams) performing work and a state transition starts, it can deadlock with the tabletmanager's state lock when checking if the engine is open or not. Signed-off-by: Matt Lord <[email protected]> * Address review comments Signed-off-by: Rohit Nayak <[email protected]> Signed-off-by: Rohit Nayak <[email protected]> Signed-off-by: Matt Lord <[email protected]> Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
…lizeHexValuesInQueries vitessio@322ac09 using vitessio#9163 as a guide Merge pull request vitessio#9118 from planetscale/NormalizeHexValuesInQueries Ensure that hex query predicates are normalized for planner cache Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Take MySQL column type into account in vstreamer This is required when we need to match MySQL behavior for data that requires column type information as well. For example, the binlog event metadata makes no distinction between events for a BINARY(4) column and events for a CHAR(4) column with a binary collation like utf8mb4_bin. So we need to know the underlying MySQL column type in order to handle them disctinctly -- MySQL pads (fixed length) binary columns on the right side with null bytes, but it does NOT do that for (fixed lengthed) CHARo columns, regardless of the collation. Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Detect and handle MySQL 8 specifically in vstreamer tests And use ToLower when looking for BINARY types to be safe. Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
fix: copy bindvariables in logstats Signed-off-by: Harshit Gangal <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Signed-off-by: Jacques Grove <[email protected]>
Fix schema engine reload so it accounts for swapped tables during online DDL Signed-off-by: Harish Mallipeddi <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Reinstate lastChange logic to handle multiple DDLs that happen within a second: for instance if a column is altered immediately after creation then we get test failures due to incorrect FIELD events which are based on the previous DDL. Unit tests: reload schema when tablets are added/deleted since the test schema engine is an external singleton Signed-off-by: Rohit Nayak <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Address review comments Signed-off-by: Rohit Nayak <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
…dropped schema engine: reset table size stats when a table is dropped Signed-off-by: deepthi <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
Signed-off-by: zhe <[email protected]>
We did not check for this config state at externalize. When -stop_after_copy=false was used for the lookup vindex materialization the workflow state will be Running when it's healthy. Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Vaidas Balys <[email protected]>
… vindexes Signed-off-by: Matt Lord <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
vitess-bot
bot
added
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsWebsiteDocsUpdate
What it says
labels
Mar 27, 2024
Mistake, sorry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsWebsiteDocsUpdate
What it says
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.
No description provided.