This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 9
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: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
A new implementation of split diff that diffs against all the destination servers at the same time. Since we only have to read out of the source a single time this could give significant time savings. Signed-off-by: Jon Tirsen <[email protected]>
* Extracted a bunch of methods * Instead of mutexes, use channels * Check UIDs in separate channel * Test if MSD can work with the given tables * Remove destination tablet type that was not used anyway * Make tests run MultiSplitDiff as well * Make the unit test run MSD Signed-off-by: Andres Taylor <[email protected]>
5.7: Ver 14.14 Distrib 5.7.24-SR1, for Linux 8.0 Ver 8.0.13 for Linux Version format changed with mysql/mysql-server@7597482cf2d58 Signed-off-by: Scott Lanning <[email protected]>
Signed-off-by: Adam Saponara <[email protected]>
Signed-off-by: Adam Saponara <[email protected]>
Signed-off-by: Michael Pawliszyn <[email protected]>
### Summary This was added in order to support spining up a vtgate within a cell that has a limited access to the keyspaces inside that cell. It was added instead of modifying the existing `filter_tablets` behavior because bringing in the `|<shard-or-keyrange>` syntax didn't make sense based on the desired behavior. `filter_tablets` and `keyspaces_to_watch` were made mutually exclusive to prevent situations where the flags required different keyspaces which would have implied a non-obvious behavior (or had to fail anyway). Implementation was relatively straight-forward: I added a new srvtopo.Server that can filter the keyspaces returned and passed to the callback for WatchSrvVSchema as well as tests. If a call is made to get the underlying topo.Server is returned, e.g., calls to a server Conn's ListDir will not be have any filtering applied. ### Testing Automated: Unit tests for the new filtering `srvtopo.Server` impl Manual: Using the vagrant setup I spun up a cluster with: 2 keyspaces: aaa_keyspace, test_keyspace 10 vttablets: 5 fronting each keyspace 1 vtgate, 1vtctld - when not watching a specific keyspace showed both keyspaces on `show vitess_keyspaces` - when `keyspaces_to_watch=test_keyspace` was set only `test_keyspace` was returned for `show vitess_keyspaces`; `select now() from dual;` was functional Signed-off-by: Richard Bailey <[email protected]>
Signed-off-by: Richard Bailey <[email protected]>
Signed-off-by: Richard Bailey <[email protected]>
…gate.go. Signed-off-by: Richard Bailey <[email protected]>
Previously, the gRPC method was not included in the tablet query logs which made debugging an ExecuteBatch vs Execute issue challenging. To address this, replace the existing RemoteAddr hook with the more generic CallInfo.Text() result that includes both the remote addr and the method in the case of gRPC. Signed-off-by: Michael Demmer <[email protected]>
Signed-off-by: DK <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Richard Bailey <[email protected]>
…ssthrough Signed-off-by: Richard Bailey <[email protected]>
Signed-off-by: Richard Bailey <[email protected]>
…at instead of real code so that tests are easier to reason about Signed-off-by: Richard Bailey <[email protected]>
stop using init in filtering server test Signed-off-by: Richard Bailey <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Update plan was changed to support aliases. Even though we don't need aliases here, this refactor makes sure that the table is set in the same way as is done in that context. This makes both plans consistent and avoid potential confusion on why they differ. Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Alexander Morozov <[email protected]>
[vt/sqlparser] Use strings.Builder in compliantName
Signed-off-by: Tanmoy Krishna Das <[email protected]>
Replaced ". ./dev.env" with "source ./dev.env" in GettingStarted.md
mysqlctl uses env MYSQL_FLAVOR to set MySQL Flavor. But helper template use EXTRA_MY_CNF to set MySQL Flavor. This cause a bug when use mariadb or mariadb103. mysqlctl set mariadb.conf or mariadb103.conf and 'mysql56.conf' in my.cnf. And this wrong config cause failure to run mariadb or mariadb103. Signed-off-by: Jungsub Shin <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Minor cleanups of the JDBC code
helm: Use MYSQL_FLAVOR to set flavor instead of EXTRA_MY_CNF
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
helm: safer shutdown + flag defaults
reformat using go 1.11 formatter
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
* This change allows to have constant time resolution of aggregates per region Signed-off-by: Rafael Chacon <[email protected]>
…ct def Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
Signed-off-by: Rafael Chacon <[email protected]>
…gr-stats-remove-l2vtgates [vt/discovery] Add region context in GetAggregateStats - v2
… in struct def" This reverts commit a51c547.
This reverts commit 0befc7e.
This reverts commit 6e95f14.
This reverts commit ac8d661.
brirams
approved these changes
Dec 21, 2018
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.
lgtm but what do i know?
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description