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

2879 Коммитов

Автор SHA1 Сообщение Дата
Harshit Gangal e50756fd96 add all apply ddl query to schema list in vtexplain tablet
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-06-29 13:41:39 +05:30
Deepthi Sigireddi 7ae102cef0
Merge pull request #8385 from planetscale/rn-scope-reverse-vrep-vindex
VReplication Reverse Workflows: add keyspace scope to vindex while creating reverse vreplication streams
2021-06-28 16:31:21 -07:00
Harshit Gangal 1fea7f95d1 fix panic for unrelated tests
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-06-28 19:08:06 +05:30
Rohit Nayak 4a89e94d34
Add keyspace scope to vindex while creating reverse vreplication streams
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2021-06-25 19:51:21 +02:00
Harshit Gangal a226c70d53
Merge pull request #8381 from planetscale/sync-shard
Make timestamp authoritative for master information
2021-06-25 15:25:47 +05:30
GuptaManan100 bb6f41987e rename variable
Signed-off-by: GuptaManan100 <manan@planetscale.com>
2021-06-25 10:14:44 +05:30
Shlomi Noach c2cfb0ebfd Resolve go.mod issue with direct dependency on planetscale/tengo
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-24 15:25:57 +03:00
GuptaManan100 9bf8d4c4f8 updated tests to run faster
Signed-off-by: GuptaManan100 <manan@planetscale.com>
2021-06-24 11:30:30 +05:30
GuptaManan100 a0d663fe02 added test for sync shard
Signed-off-by: GuptaManan100 <manan@planetscale.com>
2021-06-24 10:22:23 +05:30
GuptaManan100 65e6f14f35 added correct scoping for table expressions in the from clause
Signed-off-by: GuptaManan100 <manan@planetscale.com>
2021-06-23 17:14:30 +05:30
GuptaManan100 c12256dbb8 updated shard_sync to explicitly abort master term whenever tablet has old information
Signed-off-by: GuptaManan100 <manan@planetscale.com>
2021-06-23 14:31:25 +05:30
Deepthi Sigireddi 4385d67c88
Merge pull request #8292 from planetscale/jg_gatedebugenv
Add /debug/env for vtgate
2021-06-22 17:50:14 -07:00
deepthi 1bfab0d3a4 tm state: don't populate metadata in updateLocked because it is called during reparents and hangs when semi-sync is enabled
Signed-off-by: deepthi <deepthi@planetscale.com>
2021-06-21 21:18:46 -07:00
Shlomi Noach 16b41745d1 Bugfix: assign cexpr.references for column CONVERTed to utf8mb4
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-20 10:18:58 +03:00
Shlomi Noach bd5bb8c0c9
Merge pull request #8337 from planetscale/online-ddl-vrepl-suite-drop-add-same-name
Online DDL/VReplication: support DROP+ADD column of same name
2021-06-16 16:25:12 +03:00
Shlomi Noach 0e0755f928
Merge pull request #8345 from planetscale/online-ddl-vrepl-suite-enum-pk
Online DDL/VReplication test suite: support ENUM as part of PRIMARY KEY
2021-06-16 16:20:37 +03:00
Shlomi Noach 36b60b06e8
Merge pull request #8322 from planetscale/online-ddl-vrepl-suite-non-utf-text
Online DDL/VReplication: support non-UTF8 character sets
2021-06-16 16:20:11 +03:00
Shlomi Noach f15b277a6f treat ENUM as text if part of PRIMARY KEY
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-16 14:51:27 +03:00
Shlomi Noach 4b0dd94b9e bindvars for _before_ values in binlog event
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-16 14:51:06 +03:00
Shlomi Noach 8da072c47e Merge branch 'main' into online-ddl-vrepl-suite-drop-add-same-name
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 16:07:31 +03:00
Shlomi Noach c501c3583c better wording
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 13:02:11 +03:00
Shlomi Noach 0d0979a36b Heuristic fix for a flaky test: allow for some noise to pass through
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 12:51:24 +03:00
Shlomi Noach 1590992bee Online DDL/VReplication: support DROP+ADD column of same name
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 11:27:11 +03:00
Shlomi Noach 33abf72498 VReplication (and by product, Online DDL): support GENERATED column as part of PRIMARY KEY
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 10:51:09 +03:00
Shlomi Noach dfd826e935 fix text/enum override
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 09:18:51 +03:00
Shlomi Noach 6ae9c51728 merge main, resolve conflict
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-15 08:30:17 +03:00
Shlomi Noach c5bdbc61e7
Merge pull request #8275 from planetscale/online-ddl-vrepl-enum-to-varchar
Online DDL/Vreplication suite: support ENUM->VARCHAR/TEXT type change
2021-06-15 08:03:26 +03:00
Shlomi Noach c86fd3eb1d
Merge pull request #8015 from planetscale/online-ddl-vrepl-progress-eta
Online DDL: progress & ETA for Vreplication migrations
2021-06-15 08:03:14 +03:00
Shlomi Noach 516f2dfec0 small refactor
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 12:00:30 +03:00
Shlomi Noach a2447c50e4 fix scenario where enum column is renamed
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 11:42:35 +03:00
Shlomi Noach 44b8a17215 Rename proto field name
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 11:12:23 +03:00
Shlomi Noach e1ff59a583 refactor: extract bindFieldVal outside applyChange
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 11:01:12 +03:00
Shlomi Noach 60eb70dc77 ConvertUsingExpr is the only hint vreplication/plan sends to vstreamer/plan ; ConvertExpr not needed
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 09:40:03 +03:00
Shlomi Noach 4ec5959018 vrepl.IntegerColumnType is for a different PR
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 09:38:49 +03:00
Shlomi Noach 7a2ba41f5c remvoe comments
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 09:25:50 +03:00
Shlomi Noach 9d39293083 remove comments
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 09:21:36 +03:00
Shlomi Noach a4e1114ae7 refactor: extract bindFiledVar function
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 09:21:17 +03:00
Shlomi Noach 0c669938fe refactor, simplify
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 08:59:07 +03:00
Shlomi Noach 2da4b7eaf0 strip comments; more to go
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 08:56:04 +03:00
Shlomi Noach 594d2b99c9 strip comments; more to go
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 08:55:32 +03:00
Shlomi Noach fc63022bf1 strictly check for NULL
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 08:36:48 +03:00
Shlomi Noach ac75428d40 lazy initialization of convertUsingUTF8Columns
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-14 08:29:18 +03:00
Shlomi Noach e46c122ba1 don't convert NULL strings
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 18:35:56 +03:00
Shlomi Noach 21b59edca6 working.
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 17:24:44 +03:00
Shlomi Noach 8b96f75972 mapped column
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 15:11:52 +03:00
Shlomi Noach 913a0904a6 merge main, resolve conflict
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 12:21:28 +03:00
Shlomi Noach 88d509ead7 only convert using utf8, no binary
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 12:17:22 +03:00
Shlomi Noach b25b34ee3d
Merge pull request #8306 from planetscale/rn-vrlag-stat
New VReplication lag metric
2021-06-13 11:52:21 +03:00
Shlomi Noach 363c0cc367 code comments
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 11:26:22 +03:00
Shlomi Noach 4462415aac remove comments
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-06-13 11:19:26 +03:00