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

Slack vitess 2020.09.24.r0 #182

Closed
wants to merge 21 commits into from
Closed

Conversation

ameetkotian
Copy link

@ameetkotian ameetkotian commented Sep 24, 2020

This PR includes

https://github.com/vitessio/vitess/releases/tag/v7.0.2
vtgate : Operator precedence must take associativity into consideration vitessio#6764
vtgate: Fix reserved connection in autocommit mode on DML vitessio#6748
VDiff: fix panic for tables with a unicode_loose_md5 vindex vitessio#6745
vttablet: Turn off schema tracker by default vitessio#6746
restore: do not change tablet type to RESTORE if not actually performing a restore vitessio#6687
vttablet : Tablet manager init should publish displayState vitessio#6686
vttablet: Tablet manager add more logging to checkMastership vitessio#6685
vttablet : Fix replmanager deadlock vitessio#6634

And the following cherry-picks -

  1. During PlannedReparents, it is possible that a tablet advertises itself as MASTER while mysql is still read_only because ChangeTabletType triggers a health broadcast.
    This PR adds a call to SetReadOnly inside ChangeTabletType when the new tablet_type is MASTER.
    Remove the call from PromoteReplica since it is no longer needed there.
    tm: call setReadOnly inside ChangeTabletType vitessio/vitess#6762
  2. In tm: call setReadOnly inside ChangeTabletType vitessio/vitess#6762 we changed ChangeTabletType to also set read-write on MASTER instances. However, this should not be done when dealing with externally managed tablets because it will invariably fail and could cause the whole action to fail.
    This PR makes it optional so that only active cluster management functions attempt to change the read_only property of the underlying DB.
    tm: change how SetReadOnly is called to avoid errors from externally managed tablets vitessio/vitess#6786
  3. Invalid trace payload causes vitess to fail the request and return an error
    Replaced Error with a warning in case parsing of VT_SPAN_CONTEXT fails vitessio/vitess#6766
  4. Fixes long wait filter keyspace. The following PR fixes an issue with KeyspacesToWatch functionality. When this flag is provided, some keyspaces are removed. However, vtgates still try to wait for available tablet types in them. This PR makes sure that filter is respected.
    Fixes long wait filter keyspace vitessio/vitess#6721

sougou and others added 21 commits July 25, 2020 13:32
This functionality facilitates the use case where we connect to
an externally managed mysql, but whose database has not been
created yet.

If the DB we look for is not found, we can just create it.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.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>
Backport: Turn off schema tracker by default
Backport: VDiff: fix panic for tables with a unicode_loose_md5 vindex
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
[Backport] Fix reserved connection in autocommit mode on DML vitessio#6748
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Backport vitessio#6758 operator precedence must take associativity into consideration
Replaced Error with a warning in case parsing of VT_SPAN_CONTEXT fails
tm: call setReadOnly inside ChangeTabletType
…r-keyspace-upstream

Fixes long wait filter keyspace
…managed tablets

Signed-off-by: deepthi <deepthi@planetscale.com>
…it-filter-keyspace-upstream"

This reverts commit 6b9229e.
@ameetkotian ameetkotian closed this Oct 1, 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.

7 participants