Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

[cherry pick] Apply GRPC error processing change from upstream #188

Open
wants to merge 96 commits into
base: master
Choose a base branch
from

Conversation

setassociative
Copy link

Parent change reviewed upstream here.

Released in 8.0 but we'd like to pick it up here to start experimenting with it before our next deploy.

harshit-gangal and others added 30 commits July 27, 2020 22:28
[java] bump java version to 7.0 for release-7.0
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Do not add tablet that is going down.

Signed-off-by: deepthi <[email protected]>
Backport: Make sure lookup vindexes are queryable inside transaction
Signed-off-by: Harshit Gangal <[email protected]>
…tessio#6546)

* tablet_picker: keep trying to find a tablet until context expires

Signed-off-by: deepthi <[email protected]>

* tablet_picker: keyspace/shard/cells must be provided

Signed-off-by: deepthi <[email protected]>

* tablet picker: return ks/cell/shard in test result for TestShardMigrateMainflow

Signed-off-by: Rohit Nayak <[email protected]>

* tablet picker: fix wrangler tests by choosing a valid source per-test

Signed-off-by: Rohit Nayak <[email protected]>

* tablet picker: fix worker and testlib tests

Signed-off-by: Rohit Nayak <[email protected]>

* tablet_picker: gofmted

Signed-off-by: Rohit Nayak <[email protected]>

* tablet picker: fix test races

Signed-off-by: Rohit Nayak <[email protected]>

* tablet picker: gofmt

Signed-off-by: Rohit Nayak <[email protected]>

* tablet picker: gofmt

Signed-off-by: Rohit Nayak <[email protected]>

* healthcheck: cleanup test code where we were setting the same flag twice

Signed-off-by: deepthi <[email protected]>

Co-authored-by: Rohit Nayak <[email protected]>
Backport: HandleSet in executor to handle multiple settings in single set statement
rohit-nayak-ps and others added 25 commits September 18, 2020 15:23
Backport: Turn off schema tracker by default
Backport: VDiff: fix panic for tables with a unicode_loose_md5 vindex
[Backport] Fix reserved connection in autocommit mode on DML vitessio#6748
Signed-off-by: Andres Taylor <[email protected]>
Backport vitessio#6758 operator precedence must take associativity into consideration
…est, print

command output on failure

Signed-off-by: deepthi <[email protected]>
Backport: checkNoDB should not require tables to be present
sort tabledefinitions before comparing them
…al merge commit

Update parser to support `SHOW DATABASES LIKE '%nnn%'

Signed-off-by: Andrew Mason <[email protected]>

Add VITESS_KEYSPACES and KEYSPACES to keyword variables

Signed-off-by: Andrew Mason <[email protected]>

Use sqlparser types instead of raw strings

Signed-off-by: Andrew Mason <[email protected]>

Add parser support for showing filtered tablets/shards

Signed-off-by: Andrew Mason <[email protected]>

Include filters

Signed-off-by: Andrew Mason <[email protected]>

Add support in the executor for `SHOW VITESS_SHARDS LIKE '...'`

Signed-off-by: Andrew Mason <[email protected]>

Add support for filtering tablets by hostname

Signed-off-by: Andrew Mason <[email protected]>

Add log line to avoid deadbranch check, remove unused function

Signed-off-by: Andrew Mason <[email protected]>

Update formatting for SHOW, add test cases

Signed-off-by: Andrew Mason <[email protected]>

Add tests cases, ensure `rows` is never nil from showTablets

Signed-off-by: Andrew Mason <[email protected]>

Use `KeywordString`

Signed-off-by: Andrew Mason <[email protected]>

Remove debug log lines, standardize actual log lines

Signed-off-by: Andrew Mason <[email protected]>

Update tests

Signed-off-by: Andrew Mason <[email protected]>

Update the rest of TestExecutorShow to use require/assert

Signed-off-by: Andrew Mason <[email protected]>
… advertise itself as MASTER while mysql is still read_only

Signed-off-by: deepthi <[email protected]>
tm: call SetReadOnly inside ChangeTabletType
Replaced Error with a warning in case parsing of VT_SPAN_CONTEXT fails
…r-keyspace-upstream

Fixes long wait filter keyspace
* impl+log

Signed-off-by: Richard Bailey <[email protected]>

* correctly escape regex

Signed-off-by: Richard Bailey <[email protected]>

* simple tests, remove logging

Signed-off-by: Richard Bailey <[email protected]>

* years are dumb

Signed-off-by: Richard Bailey <[email protected]>

* handle the other tow RE cases.

this is ... mabye a bit much with the factoring out but maybe not

Signed-off-by: Richard Bailey <[email protected]>

* fix up comments, move impls around

Signed-off-by: Richard Bailey <[email protected]>

* better better error comment <_<

Signed-off-by: Richard Bailey <[email protected]>

* assert!

Signed-off-by: Richard Bailey <[email protected]>

* to run test suite

Signed-off-by: Richard Bailey <[email protected]>

* fix up testsv

Signed-off-by: Richard Bailey <[email protected]>

* tests pass; remove dead code-as-comments

Signed-off-by: Richard Bailey <[email protected]>

* pull out unnecessary processing

Signed-off-by: Richard Bailey <[email protected]>

* don't differentiate trailing vs leading clarification

Signed-off-by: Richard Bailey <[email protected]>
@rafael
Copy link

rafael commented Dec 8, 2020

LGTM

rafael
rafael previously approved these changes Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.