Sugu Sougoumarane
b359fabc8f
stream_migrater: initial cut
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-10-11 19:34:14 -07:00
Sugu Sougoumarane
123c076b5c
Merge pull request #5285 from tanjunchen/add-License-.java-file
...
add License in *.java files in java directory
2019-10-11 18:52:45 -07:00
Sugu Sougoumarane
00c757dbb1
Merge pull request #5277 from mc0/addSupportForInsertDefault
...
add support for DEFAULT in insert statements for sequences to the query planner
2019-10-11 15:31:09 -07:00
Mark Caudill
53949d3da7
add support for DEFAULT in insert statements for sequences to the query planner
...
This will treat DEFAULT as "null" for the purposes of sequences when
running insert statements. This matches with MySQL's documented
behavior and observed resulted.
See for more information:
https://dev.mysql.com/doc/refman/8.0/en/data-type-defaults.html
Signed-off-by: Mark Caudill <mark@sharpspring.com>
2019-10-11 16:46:22 -04:00
Sugu Sougoumarane
23efa4145a
Merge pull request #5271 from dasl-/schema-time
...
Fix invocation of deferred function for loading schema.
2019-10-11 12:49:09 -07:00
Sugu Sougoumarane
06ae28d89c
Merge pull request #5276 from xichengliudui/fix404
...
fix 404 page not found
2019-10-11 12:47:43 -07:00
Sugu Sougoumarane
32f80f8860
Merge pull request #5287 from tanjunchen/add-License-go-filse
...
add License in /go files
2019-10-11 12:47:11 -07:00
Sugu Sougoumarane
8d92f75bbd
Merge pull request #5282 from tanjunchen/fix-up-reasonbale-goimports
...
fix unreasonable-goimports way
2019-10-11 12:46:53 -07:00
tanjunchen
da620bf6dc
add License in *.java files in java directory
...
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-12 01:02:36 +08:00
tanjunchen
63c969ca7d
add License in /go files
...
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-12 00:31:28 +08:00
Sugu Sougoumarane
c81647138e
Merge pull request #5283 from xichengliudui/update-MD-file-spec
...
Update mark down file hyperlink format
2019-10-11 09:16:07 -07:00
Sugu Sougoumarane
16b164b165
Merge pull request #5286 from planetscale/morgo-update-slack-link
...
remove duplicate docs
2019-10-11 09:11:06 -07:00
Andres Taylor
0ecab461b1
Merge pull request #5290 from lyonlai/ylai-20191010-multi-split-diff-in-workflow
...
MultiSplitDiff support in workflow
2019-10-11 11:59:23 +02:00
Yun Lai
37c586eadd
Add MultiSplitDiff support in workflow, also fixed arguments ordering
...
issue
Signed-off-by: Yun Lai <ylai@squareup.com>
2019-10-11 01:38:48 -07:00
Andres Taylor
b4992f4207
Merge pull request #5280 from JavierR14/javier/change-vtcompose-package
...
Move vtCompose into own directory to avoid conflicting main() functions
2019-10-10 10:56:22 +02:00
Morgan Tocker
0508005ba7
remove duplicate docs
...
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-09 08:46:10 -06:00
tanjunchen
dcc782ad93
fix unreasonable-goimports way
...
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-09 15:31:05 +08:00
JavierR14
0240299a2d
Put vtcompose in its own directory to avoid conflicting main() with client.go
...
Signed-off-by: JavierR14 <javier@squareup.com>
2019-10-08 16:17:30 -04:00
xichengliudui
c2f89348ef
Update mark down hyperlink format
...
Signed-off-by: xichengliudui <liuduidui@beyondcent.com>
2019-10-08 13:10:23 -04:00
dleibovic
a851d7b9ba
Fix invocation of deferred function for loading schema.
...
Golang's defer's arguments are evaluated immediately. Thus the time.Since(start) was being resolved immediately, rather than at the end of function execution.
Signed-off-by: dleibovic <dleibovic@etsy.com>
2019-10-08 10:52:09 -04:00
xichengliudui
b0e8f8c308
fix 404 page not found
...
Signed-off-by: xichengliudui <liuduidui@beyondcent.com>
2019-10-08 05:53:21 -04:00
Deepthi Sigireddi
2c8664c800
Merge pull request #5160 from planetscale/ds-pitr2
...
Point in time recovery (part 1)
2019-10-07 16:18:38 -07:00
deepthi
5df0107ed6
do not override flags, more checks and logging
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-07 14:33:41 -07:00
deepthi
ba6a23d1f9
DRY: centralize computation of backupDir
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-07 14:06:01 -07:00
Sugu Sougoumarane
c876709aa2
Merge pull request #4978 from planetscale/ss-vindex-sort
...
consistent lookup: handle insert ignore
2019-10-07 12:18:25 -07:00
Andres Taylor
f645c11a39
Merge pull request #5258 from tanjunchen/fix-up-code-bug
...
avoid having to escape twice in go/vt/vtgate/plugin_mysql_server.go file
2019-10-07 15:17:08 +02:00
tanjunchen
d78c433980
avoid having to escape twice
...
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-07 20:30:49 +08:00
Andres Taylor
8ab3311ecf
Merge pull request #5270 from planetscale/ss-revert-flag
...
Revert "Merge pull request #5203 from systay/never-master"
2019-10-07 05:59:45 +02:00
Sugu Sougoumarane
f1552f09f0
Merge pull request #5267 from tanjunchen/fix-typo
...
fix-up some spelling mistakes
2019-10-06 13:16:33 -07:00
Sugu Sougoumarane
c1dcd4badb
Revert "Merge pull request #5203 from systay/never-master"
...
This reverts commit 2731866eac
, reversing
changes made to 698935b636
.
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-10-06 13:11:54 -07:00
deepthi
ac3efb4072
Replace keyspace_type in vschema with a boolean require_explicit_routing
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-06 12:23:42 -07:00
tanjunchen
23c7c6ee70
fix-up some spelling mistakes
...
Signed-off-by: tanjunchen <2799194073@qq.com>
2019-10-06 11:59:43 +08:00
Sugu Sougoumarane
2731866eac
Merge pull request #5203 from systay/never-master
...
Add startup argument to stop tablet from reparent
2019-10-05 11:05:10 -07:00
Sugu Sougoumarane
698935b636
Merge pull request #5248 from tanjunchen/clean-up-document
...
fix up word spelling mistakes
2019-10-05 11:03:45 -07:00
Sugu Sougoumarane
cc467ac08b
Merge pull request #5186 from planetscale/rk-newmult
...
Multiplication operation expression
2019-10-05 08:04:01 -07:00
Sugu Sougoumarane
b93263aec4
Merge pull request #5232 from beautytiger/dev-190926-fatalf
...
move t.Fatalf into same goroutine in vtworkerclienttest
2019-10-05 07:58:14 -07:00
Sugu Sougoumarane
64aac0390f
Merge pull request #5241 from hwdef/add-error-handling
...
fix: add some error handling.
2019-10-05 07:48:04 -07:00
Sugu Sougoumarane
b737fe0d7d
Merge pull request #5252 from xichengliudui/updateparameter
...
Update the parameter name in the comment
2019-10-05 07:39:37 -07:00
Sugu Sougoumarane
477d8d47db
Merge pull request #5259 from systay/tiny-refactoring
...
Make StatementType a type alias instead of an int
2019-10-05 07:36:43 -07:00
Sugu Sougoumarane
6a5fdd0ccb
Merge pull request #5262 from JavierR14/javier/vitess-docker
...
VtCompose - Local Vitess Cluster (Docker) Auto-Setup
2019-10-05 07:31:33 -07:00
deepthi
cbbb69928d
Look for a backup created at or before specified time
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-04 16:10:21 -07:00
deepthi
a9e5ffe487
fix unit test
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-04 16:10:21 -07:00
deepthi
1cc823c1b3
unit tests for vtctl CreateKeyspace
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 17:37:19 -07:00
deepthi
ca6fffe3ab
add PITR test for xtrabackup
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 17:37:19 -07:00
deepthi
060f148188
save restore time and position in local_metadata instead of tablet record, more params cleanup and refactoring from reviews
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:38:12 -07:00
deepthi
f64eeca8d3
cleanup params handling, push dir/name computation into mysqlctl.Backup, fix bug in FindBackup for snapshot, misc review changes
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:34:39 -07:00
deepthi
defbcfc4f0
improve error handling and comments
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi
dc5f095189
test recovery works even if old shard has already been deleted, test for recovered data per shard
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi
97bde32f67
Improve testcases
...
- if there's more than 1 backup the correct one should be chosen
- update data on base keyspace after backup and ensure recovery keyspace does
not see the change
- recover a sharded keyspace
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00
deepthi
eef29d1061
set initDbNameOverride on recovery tablets only if it is not already set
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-03 15:33:59 -07:00