6.0 Slack vitess release merge (w/consul 1.5.1, no k3s)#163
6.0 Slack vitess release merge (w/consul 1.5.1, no k3s)#163ajm188 merged 1101 commits intoslack-vitess-2020.06.22-r0from
Conversation
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Remove unused code
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
… tablet is written to topo Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
PromoteSlaveWhenCaughtUp RPC Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
…th current master Signed-off-by: deepthi <deepthi@planetscale.com>
vtctld: proxy must update target URLs
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Now that we allow fractional seconds, let's use this as a standardized unit. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com> Signed-off-by: deepthi <deepthi@planetscale.com>
This flag didn't previously exist, but there are users that want to fine tune this setting. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Fixes vitessio#6264 Fixes vitessio#6285 Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
…s to floats Signed-off-by: Rohit Nayak <rohit@planetscale.com>
backport vitessio#6205 to 6.0 release branch
backport vitessio#6224 to 6.0 release branch
backport vitessio#6250 to 6.0 release branch
backport vitessio#6299 to 6.0 release branch
backport vitessio#6317 to 6.0 release branch
backport vitessio#6308 to 6.0 release branch
Backport vitessio#6270 to 6.0 release branch
…ar-clashes Make sure to protect insert lookup queries from bind var name clashes (6.0)
c486e35 to
3ba31fd
Compare
Signed-off-by: Andrew Mason <amason@slack-corp.com>
3ba31fd to
f6f2cfa
Compare
Signed-off-by: Andrew Mason <amason@slack-corp.com>
There was a problem hiding this comment.
This all seems fine. Some things to call out though:
-
vitessio#6053 I think in the cases where we see a failover that leaves one tablet thinking it's still the primary this could generate ErrantTxns on the failed primary. Also, to be clear this should be safe; it's only the alerts I've got in mind as a concern.
-
vitessio#6116 This is great, we should watch for decreased scatters before/after deploy; probably wouldn't hurt to smoke test this either
-
vitessio#6096 I would not be super surprised if we see some changes to reported keyspace in agenda
And the following sorta worry me only in that the are large / complex with minimal discussion (and I don't know the codebase well enough to grok them).. but presumably it should be somewhat obvious if they fail 😓
Git Shenanigans
To avoid reverting back to consul 1.4.5, but also without needing to go all the way to 1.8.0, we needed to pull out the k8s topo bits, which were done in the following commits:
Slack Changes
EnsureVSchemaandGetOrCreateShardto only rebuild SrvVSchema in the single cell 🎉handleOtherUpstream Changes
PLANNED REPARENT FIXES
UndoDemoteMaster, thanks Deepthi!query
SHOW FULL COLUMNSon unqualified tablesDEFAULThandleUsefrom executenilinstructionsSHOW INDEXESandEXTENDEDtopo
WatchSrvVSchemaandGetSrvKeyspaceNamesvttablet
NewDBConnNoPool🎉USEandDATABASE()fixesvtgate (some of the things under
queryare arguablyvtgate🤷♂️ )vtctld
--skip-verifytoCopySchemaShard-proxy_tabletsto vtctld-forceflag toDeleteCellInfoApplyVSchemavrep
backups
xtrabackup preparephasemetrics
session variables
setstatement parsersetUDV implementationsolap
use keyspace[shard]select database()in OLAP mode (#6200) vitessio/vitess#6205 fixes panic withselect database()in olap mode (backported in backport #6205 to 6.0 release branch vitessio/vitess#6318)heartbeat
vtexplain
java
Misc
MarshalJSONimplementations