Граф коммитов

17407 Коммитов

Автор SHA1 Сообщение Дата
deepthi 3f8ad0d175 add multi-recovery integration test
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi d689461f97 add fields to Tablet record to store which backup we restored from, and which gtid we restored to
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi e3caf779bf fix time formats and help text
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi d5a420278d test PITR data access through vtgate
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi 4f2b45b132 fix test failures
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi 1732232e6f add base_keyspace param to CreateKeyspace
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi d56dff7206 unit test for CreateKeyspace, fix CI test failures
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi 2e77b986af CreateKeyspace for snapshot keyspaces
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:56 -07:00
Deepthi Sigireddi c0c1166f1a
Merge pull request #5216 from nitins64/nitin-vstream-optional-field-event
vstream: best effort option for field events
2019-10-03 08:10:52 -07:00
Nitin Shatma a6c53fd030 minor-changes
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 21:28:01 -07:00
Nitin Shatma d93239c76e proto-changes
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 18:51:16 -07:00
Nitin Shatma 84d6205c64 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 17:38:41 -07:00
Anthony Yeh a1ab27a3b4 tabletmanager: Keep tablet and shard in sync.
In particular, if we know we're master but the shard record is wrong,
update it. And if another tablet takes over the shard record by having a
more recent master term start time, we know we need to stop claiming to
be master.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-10-02 15:51:17 -07:00
Nitin Shatma 6ee9ce3e65 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 15:26:17 -07:00
Nitin Shatma b6a41fe6e6 address-review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 15:22:43 -07:00
j0 5f6b24546d
Change parsedjango queries to test
Signed-off-by: j0 <lee.yi.jie.joel@gmail.com>
2019-10-02 15:14:36 -07:00
JavierR14 5a2725537f Updated README to include vtcompose instructions, and changed a variable name
Signed-off-by: JavierR14 <javier@squareup.com>
2019-10-02 17:06:11 -04:00
JavierR14 098695259b Added support for multiple keyspaces. Changed how details are supplied through flags
Signed-off-by: JavierR14 <javier@squareup.com>
2019-10-02 17:02:44 -04:00
JavierR14 65168ffc89 Working vtcompose for many shards and with lookups
Signed-off-by: JavierR14 <javier@squareup.com>
2019-10-02 17:02:44 -04:00
JavierR14 933bd1a4ce Initial Base Change: base vschema and docker-compose files, create table sql files and base vtcompose program
Signed-off-by: JavierR14 <javier@squareup.com>
2019-10-02 17:02:43 -04:00
Nitin Shatma 14d18cc5cb minor-cleanup
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:49:54 -07:00
Nitin Shatma 1ecc206e03 Merge branch 'nitin-vstream-optional-field-event' of github.com:nitins64/vitess into nitin-vstream-optional-field-event 2019-10-02 12:29:02 -07:00
Nitin Shatma 097744730f rebase
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:26:19 -07:00
Nitin Shatma 59bb792b51 add-type-equivalence
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma 4ee1527009 fix-test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma df4ce5f294 test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:17 -07:00
Nitin Shatma 513c7f4414 test
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma fe59f7b882 minor
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma a4ce7d81e0 add-missing-type-mapping
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma b736b17924 review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma 34c595d6e9 minor-cleanup
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
Nitin Shatma b912811977 vstream optional field event
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-10-02 12:23:16 -07:00
j0 bd56e03076
Add sample test for django
Signed-off-by: j0 <lee.yi.jie.joel@gmail.com>
2019-10-02 11:33:12 -07:00
Deepthi Sigireddi 2a560dab18
Merge pull request #5218 from planetscale/ds-xb-docker
fix docker files for xtrabackup
2019-10-02 11:26:53 -07:00
Andres Taylor f0cfd16670 Make StatementType a type alias instead of an int
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-10-02 06:17:29 +02:00
Anthony Yeh 2f5a57eb21 topodata.proto: Add master_term_start_time field to Shard record.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-10-01 15:11:19 -07:00
Deepthi Sigireddi a7bea23a86
Merge pull request #5256 from beautytiger/dev-191001-clean
remove duplicated code lines
2019-10-01 14:50:56 -07:00
Deepthi Sigireddi 169331a63f
Merge pull request #5254 from planetscale/ds-fix-restore-crashloop
Don't abort restore if master is unreachable
2019-10-01 14:43:49 -07:00
deepthi 1e1ef87cfd cleanup per review comments
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-01 12:34:44 -07:00
Deepthi Sigireddi d2458838ac
Merge pull request #5250 from tanjunchen/fix-up-error
simplified code
2019-10-01 12:10:54 -07:00
Guangming Wang b03b873c50 remove duplicated code lines
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-01 21:08:16 +08:00
tanjunchen b34443bdb1 simplified code
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-01 12:05:26 +08:00
deepthi e6c4a09906 implement delay between retries of attempting to get mysql slave status, add unit test
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-30 18:10:56 -07:00
deepthi 0d1ebf0374 Don't abort restore if master is unreachable
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-30 15:13:26 -07:00
Anthony Yeh a9b689814f Merge branch 'master' into reparent-refactor
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-30 12:21:11 -07:00
xichengliudui ffa7c4376c Update the parameter name in the comment
Signed-off-by: xichengliudui <1693291525@qq.com>
2019-09-30 16:50:55 +08:00
Nitin Shatma ce94093d75 add-type-equivalence
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-09-29 17:20:38 -07:00
tanjunchen 83c9078cb9 fix-up the wrong words
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-09-29 22:13:47 +08:00
hwdef e56de26247 fix: add some error handling.
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-09-28 13:10:37 +08:00
Sugu Sougoumarane 7dff417964
Merge pull request #5240 from nozzle/grpc-go-1.24
go.mod: update to grpc-go 1.24.0
2019-09-27 10:31:46 -07:00