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

Revert non-upstream merges #153

Closed
wants to merge 483 commits into from
Closed

Revert non-upstream merges #153

wants to merge 483 commits into from

Conversation

ajm188
Copy link

@ajm188 ajm188 commented Apr 28, 2020

This reverts our last build (#148), as well as on old PR (#126) that never got merged to upstream.

sougou and others added 30 commits November 11, 2019 20:13
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Add Flavor as a conn param.
Add code to handle flavor-specific GTID.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
In this scheme, the filePos reader detects whether we are in a
transaction or not, and emits appropriate GTID events.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
The vstreamer sent GTIDs "as they came". With the new change,
GTIDs are sent only when they matter: on COMMIT, DDL or OTHER.

This new approach makes the protocol easier to understand. Also,
it makes it easier for filePos to continuously send file and position.
The correct values will get used when significant events like
COMMIT are encountered.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Maxim Krasilnikov <mak.krasilnikov@gmail.com>
Signed-off-by: Maxim Krasilnikov <m.krasilnikov@space307.com>
The vplayer currently uses ambiguous rules about how it handles the case
where a stop position was exceeded. As part of this change, we'll
standardize on: A stop position is considered to be successfully reached
if the new position is greater than or equal to the specified position.
The main motivation for this change is that the possibility of
position mismatch is higher in the case of file:pos tracking. We're
likely to hit many false positives if we're too strict.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: lokune <laban.okune@ma3route.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
etcd on unstable or unsupported architectures will print a warning message and immediately exit if the environment variable ETCD_UNSUPPORTED_ARCH is not set to the target architecture.

Change-Id: Ifdd3ed4ae322484477d2db3e2d0eed09e086518f
Signed-off-by: Jiamei.Xie <Jiamei.Xie@arm.com>
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
Eliminate that it isn't transient state causing it to fail.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
Signed-off-by: Harshit Gangal <harshit.gangal@gmail.com>
Add a line to install pip package which is needed for later steps.

Signed-off-by: Nick Canzoneri <nickcanz@github.com>
Update vagrant bootstrap to install pip
Search for etcd in PATH, don't install if installed
In xtrabackup mode, we would normally leave replication running when
taking a backup on a tablet. However, since this is not a serving
tablet, we stop replication in advance to help make xtrabackup's job
easier.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
Signed-off-by: xichengliudui <1693291525@qq.com>
Not used by default.  To use:
  * Set LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4
  * or  LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1
in your container startup environment.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
…y-of-tls-certificate-per-file

Load tls certificate and x509 cert pool once per file to reduce memory usage
* Fixed nil bind variables error by resetting bindvars to an empty map.  Also added a recover to catch panics that occur inside Logf due to FormatBindVariables call potentially panicking.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>

* Changed import order back.  Order was auto-changed by IDE on save

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>

* Using stored ParamsCount for capacity per review suggestion.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>

* Added explanation comment per review suggestion.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>

* Removed explicit panic after offline talk with sougou and deepthi

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
morgo and others added 26 commits December 10, 2019 07:26
EndtoEnd test cases in Go migrated from Python
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Minor spelling/grammar improvements

Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Fixes vitessio#5421

Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
This allows bootstrap to eventually be deprecated.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
…kging

Make packages with cut down binaries list
…dency-chk

Add better dependency checking
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
…ke-master

DeleteTablet: allow deletion of old master tablet without -allow_master
We've gotten reports from Vitess users who use the consultopo plugin
that watches sometimes remain stalled following a network partition,
even after the process regains contact with the topo server.

This change should help us detect when a consultopo watch connection has
silently died while waiting for a long poll response. I haven't thought
of a good way to test this since this kind of zombie TCP connection
should only happen if even the "connection closed" signal cannot be
delivered (like in a network partition, as opposed to a process crash).

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
Healthcheck - limit healthchecks by keyspace
…undo

PlannedReparent: create a new context for calling UndoDemoteMaster
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
…1.r0"

This reverts commit d0434c0, reversing
changes made to 3d61060.
@ajm188 ajm188 requested a review from zmagg April 28, 2020 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet