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

879 Коммитов

Автор SHA1 Сообщение Дата
Deepthi Sigireddi 375d2d7925
Delete deprecated flags (#11360)
* flags: remove deprecated from test comment

Signed-off-by: deepthi <deepthi@planetscale.com>

* flags: remove deprecated planner_version flag

Signed-off-by: deepthi <deepthi@planetscale.com>

* flags: remove deprecated master_connect_retry flag

Signed-off-by: deepthi <deepthi@planetscale.com>

Signed-off-by: deepthi <deepthi@planetscale.com>
2022-09-26 19:37:03 -07:00
Brian Ramos 6bee2fe415
[vtgate] Add flag to pool connection read buffers (#11167)
* Add mysql_server_pool_conn_read_buffers flag and thread through to listener and connection

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* review feedback: code style

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* fix endtoend test

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* run benchmarks with read buffer pooling, too

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* update flag name to match new conventions

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* update 15.0.0 summary with reference to new flag

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

* an attempt at cleaning up branch for rebasing

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>

Signed-off-by: Brian Ramos <brirams@users.noreply.github.com>
2022-09-26 15:25:08 +05:30
Manan Gupta 02a20013c0
Introduce `servenv` status pages in VTOrc (#11263)
* docs: fix logging in vtorc http

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add servenv and required flags to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add vtorc port to local and region sharding example

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: add vtorc to flag help test

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: simplify vtorc parsing of flags

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add redirect for unrecognized paths to /debug/status to vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add a component to debug/status page of vtorc to display recent recoveries

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: simplify a condition in vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix command used for invoking vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove adding help flag and let servenv handle it

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add vtorc servenv page to docker-compose example too

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add prometheus plugin like we do for other binaries

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: change vtorc debug port to not conflict with vttablet's port

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix year in file license

Signed-off-by: Manan Gupta <manan@planetscale.com>

* docs: add summary docs

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-22 10:48:45 +05:30
Manan Gupta 0b6c64442d
Parameterize VTOrc constants (#11254)
* feat: parameterize some constants in vtorc

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add new configurations for configs that have Orchestrator as a substring and verify backward compatibility

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix remaining tests in the package to not use external test library

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add summary docs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: simplify code

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: removed Orchestrator parameters

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: updated summar doc for recent changes

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: improve summary docs

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-21 21:42:07 +05:30
FlorentP 2bdf1c2a46
Merge pull request #11174 from planetscale/update-release-instructions
Update the release documentation
2022-09-16 12:33:04 +02:00
Harshit Gangal 3a496ec9fd
addressing review comments from #11088 (#11221)
* refactor: move pool unsafe query test to query_engine test

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* fix: changed the new flag to newer convention of dashes than underscore

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* added release notes

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: fix test expectation

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-09-15 11:18:09 +05:30
Florent Poinsard 49d1be9a21
Apply review suggestions
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-13 20:39:33 +02:00
FlorentP 72a77f77bb
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:33:37 +02:00
FlorentP e281de46f8
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:32:51 +02:00
FlorentP 3d78f40c91
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:32:38 +02:00
FlorentP c04f75876d
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:31:43 +02:00
FlorentP 351b3a812f
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:31:32 +02:00
FlorentP 6cb60a8f33
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:31:21 +02:00
FlorentP 0bd362da00
Update doc/internal/ReleaseInstructions.md
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: FlorentP <35779988+frouioui@users.noreply.github.com>
2022-09-13 20:31:05 +02:00
Florent Poinsard 2ff070676b
Addition of links to the vitess operator documentation
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-12 11:11:08 +02:00
Florent Poinsard d1d33e838b
Update the documentation with a simpler tuto for the release and a new one for the code freeze
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-09 18:26:13 +02:00
Max Englander 3e3365eecd
decouple olap tx timeout from oltp tx timeout (#10946)
* decouple olap tx timeout from oltp tx timeout

Since workload=olap bypasses the query timeouts
(--queryserver-config-query-timeout) and also row limits, the natural
assumption is that it also bypasses the transaction timeout.

This is not the case, e.g. for a tablet where the
--queryserver-config-transaction-timeout is 10.

This commit:

 * Adds new CLI flag and YAML field to independently configure TX
   timeouts for OLAP workloads (--queryserver-config-olap-transaction-timeout).
 * Decouples TX kill interval from OLTP TX timeout via new CLI flag and
   YAML field (--queryserver-config-transaction-killer-interval).

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #1

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #2 consolidate timeout logic in sc

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: remove unused tx killer flag

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: update 15_0_0_summary.md

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: fix race cond

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #3 -txProps.timeout, +sc.expiryTime

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #4 -atomic.Value for expiryTime

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: fix race cond (without atomic.Value)

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #5 -unused funcs, fix comments, set ticks interval once

Signed-off-by: Max Englander <max@planetscale.com>

* decouple ol{a,t}p tx timeouts: pr comments #5 +txkill tests

Signed-off-by: Max Englander <max@planetscale.com>

* revert fmt changes

Signed-off-by: Max Englander <max@planetscale.com>

* implement pr review suggestion

Signed-off-by: Max Englander <max@planetscale.com>

Signed-off-by: Max Englander <max@planetscale.com>
2022-09-07 22:37:27 +05:30
Andrew Mason a4dac89778
[cli] [servenv] Migrate flags used by grpc servers to `pflag` (#11165)
* [cli] [servenv] Un-export gRPC server flags and migrate to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [cli] [servenv] Remove deprecated profiling flags

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [cli] [servenv] Migrate flags used by Run, RunDefault, and Init to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [cli] [servenv] Migrate remaining flags used by Run/grpc-server

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [vttestserver] fix flag registration

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* clean up package comment to remove reference to nonexistent code

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* fix comment, add release note

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* update relnotes with more deletion notices

Signed-off-by: Andrew Mason <andrew@planetscale.com>
2022-09-07 09:05:20 -04:00
Florent Poinsard e5606f0fab
Changed release doc to use a more recent version increment
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-07 13:33:52 +02:00
Florent Poinsard 405cdec823
Applied review suggestions
Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-07 13:12:07 +02:00
Florent Poinsard 1cb822c82b
Added more content and description to the release cutover section
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-06 11:08:34 +02:00
Florent Poinsard 06073da1c4
Initial rework of the release instructions
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-05 17:15:32 +02:00
FlorentP a07ffd2b5d
Merge pull request #11160 from planetscale/release-14.0.2-on-main
Addition of the release notes for `v14.0.2`
2022-09-05 09:51:56 +02:00
FlorentP c5d0dad091
Merge pull request #11164 from planetscale/release-12.0.6-on-main
Addition of the release notes for `v12.0.6`
2022-09-05 09:41:49 +02:00
Florent Poinsard 0ad3cb0f8e
Addition of the release notes for v12.0.6
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-01 19:11:02 +02:00
Florent Poinsard 7ac598f3da
Addition of the release notes for v13.0.3
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-01 18:56:50 +02:00
Florent Poinsard 2cd11b183b
Addition of the release notes for v14.0.2
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-09-01 18:34:39 +02:00
Andrew Mason 8846ffa490
[cli] [tabletmanager] Migrate all tabletmanager flags to `pflag` (#11057)
* [tabletmanager] Migrate tabletmanager's orchestrator flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's restore flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's lockTables flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's replication flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's shard_sync flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's tm_init flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager] Migrate tabletmanager's tm_state flags to pflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* [tabletmanager_test] tidy up imports

Signed-off-by: Andrew Mason <andrew@planetscale.com>

Signed-off-by: Andrew Mason <andrew@planetscale.com>
2022-08-22 06:14:50 -04:00
Renan Rangel 1e6b05d78c
revert default compression engine (#11029)
* revert default compression engine

Signed-off-by: Renan Rangel <rrangel@slack-corp.com>

* fix flags test

Signed-off-by: Renan Rangel <rrangel@slack-corp.com>

Signed-off-by: Renan Rangel <rrangel@slack-corp.com>
2022-08-19 06:46:56 -07:00
Harshit Gangal f4f50ad1df
Remove prefill logic from resource pool (#11002)
* refactor: removed prefill parallelism, removed unnecessary tracing, added pool benchmark

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* updated doc and mark flag deprecation

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: fix test expectation

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-08-18 21:22:25 +05:30
Rameez Sajwani 0eb5fcbd16
Remove built-in decompression flag (#10670)
* Remove built-in decompression flag

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fix test failures

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fix Helpoutput test

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing unit test

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Adding summary

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* code cleaning and better summary

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Change builtinCompressor to more generic compression engine name

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing / Adding new test case

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fix summary & static code analysis

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Adding fake backup impl in test

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Adding time sleep in between test

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing summary and adding comments

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Feedback on summary

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Code review feedback

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing comment

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing default value in summary

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Fixing test cases

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* More summary fixes

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
2022-08-11 09:38:00 -07:00
Andres Taylor 1fa1245b91
New explain format: VTEXPLAIN (#10556)
* feat: added query logging to safe session

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: added [explain format=vtexplain] parsing and AST

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add planning of vtexplain queries

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: keep the logging even in the precense of autocommits

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: use table result instead of warnings, and move the logging to scattercon

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: log commit to vtexplain logger and added e2e test

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: vindex query to mark vindexExec in session

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: run only for gen4 planner

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: vtexplain logs with bindvars replaces, and begin being counted with the real query

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add ACTUALLY_RUN_QUERIES as a comment directive to vtexplain and block dml queries if not specified

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: make sure we add the actually_runs_queries directive to inserts we want to inspect

Signed-off-by: Andres Taylor <andres@planetscale.com>

* docs: added info to release notes

Signed-off-by: Andres Taylor <andres@planetscale.com>

* typo: fix error message

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: ignore cases on comment directives

Signed-off-by: Andres Taylor <andres@planetscale.com>

* fix: CommentDirective now hides internals so that the lower casing of keys can be preserved everywhere

Signed-off-by: Andres Taylor <andres@planetscale.com>

* test: improve assertion

Signed-off-by: Andres Taylor <andres@planetscale.com>

* chore: clean up accidental change

Signed-off-by: Andres Taylor <andres@planetscale.com>

* refactor: clean up so more responsibility for vtexplain ends up in the engine primitive

Signed-off-by: Andres Taylor <andres@planetscale.com>

* fix: no need to Unquote multiple times

Signed-off-by: Andres Taylor <andres@planetscale.com>

* fix: rename comment directive

Signed-off-by: Andres Taylor <andres@planetscale.com>

Co-authored-by: Harshit Gangal <harshit@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-08-02 11:41:06 +02:00
Matt Lord c6a552bc36
Add PR links
Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-07-29 20:25:10 -04:00
Matt Lord abb56e8f09
Add PR links
Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-07-29 20:10:49 -04:00
Matt Lord fd9568a496
Add PR links
Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-07-29 20:01:46 -04:00
Matt Lord 6d5a9f3b52
Add PR links
Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-07-29 19:50:10 -04:00
Deepthi Sigireddi ab9d166504
Merge pull request #10829 from planetscale/ds-rel-15-summary-index
release notes: add index to v15 summary
2022-07-27 14:26:10 -07:00
deepthi b15925ef7e format struct reference
Signed-off-by: deepthi <deepthi@planetscale.com>
2022-07-27 13:21:54 -07:00
Florent Poinsard acbf7580d4
Addition of the release notes for v12.0.5
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-07-27 17:35:16 +02:00
FlorentP 11e6f72357
Addition of the release notes for v13.0.2 (#10849)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-07-27 16:10:58 +02:00
FlorentP d1d4af6fcf
Addition of the release notes for v14.0.1 (#10851)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-07-27 02:52:11 +02:00
vitess-bot[bot] 2b7cf37f1e
Addition of the release notes summary for v13.0.2 (#10838)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-07-26 13:40:27 +02:00
vitess-bot[bot] 784842ed7d
Addition of the release notes summary for v14.0.1 (#10837)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-07-26 13:40:12 +02:00
deepthi 83dd8700f8 release notes: add index to v15 summary, fix typos, re-word and re-organize
Signed-off-by: deepthi <deepthi@planetscale.com>
2022-07-25 17:02:39 -07:00
Phani Raj 4107b1ede0
Add order, limit, skip options to onlineddl show command (#10651)
* Add order, limit, skip options to onlineddl show command

Signed-off-by: Phani Raj <phani@planetscale.com>

* each subsection is added independently

Signed-off-by: Phani Raj <phani@planetscale.com>

* Add documentation examples

Signed-off-by: Phani Raj <phani@planetscale.com>

* Update Parameter documentation

Signed-off-by: Phani Raj <phani@planetscale.com>

* quote column name and enum values

Signed-off-by: Phani Raj <phani@planetscale.com>

* added tests for onlineddl show

Signed-off-by: phanatic <phanatic@github.com>

* add comment about vexecFunnc

Signed-off-by: phanatic <phanatic@github.com>

* add release notes

Signed-off-by: phanatic <phanatic@github.com>

* fix formatting

Signed-off-by: phanatic <phanatic@github.com>

* fix goimports

Signed-off-by: phanatic <phanatic@github.com>

* update local goimports, fix imports

Signed-off-by: phanatic <phanatic@github.com>
Signed-off-by: <phanatic@github.com>

Co-authored-by: phanatic <phanatic@github.com>
2022-07-25 13:32:09 -07:00
Manan Gupta ed9e6e33f2
Deprecate enable-semi-sync in favour of RPC parameter (#10695)
* feat: deprecate enable_semi_sync flag

Signed-off-by: Manan Gupta <manan@planetscale.com>

* docs: add the deprecation change to the summary

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: fix test expectation for vttablet flags

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix cnf files to not mention the deprecated flag

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove enable_semi_sync from scripts of examples

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: remove setting enable_semi_sync flag in testlib tests

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove enable_semi_sync from a bunch of tests

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: refactor setup to take in durability policy instead of a boolean and add a test for cross cell durability policy

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add cross cell durability policy to the docs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix flag help output

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: we shouldn't remove enable_semi_sync from tests which are testing upgrades

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-07-22 21:35:15 +05:30
Andres Taylor 5c29d25050
Update how table uses are reported (#10598)
* refactor: move out plan into its own file

Signed-off-by: Andres Taylor <andres@planetscale.com>

* refactor: wrap primitive in a PlanResult struct

Signed-off-by: Andres Taylor <andres@planetscale.com>

* test: cleanup tests to move to using assert package

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add a tablesUsed field to logstats and use it in the output

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: wireup the tables used from the planning phase to log stats

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: make sure to keep escapes in json strings

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add tables used field to the plan output

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add tables used to more plan types

Signed-off-by: Andres Taylor <andres@planetscale.com>

* refactor: move logstats to it's own package

Signed-off-by: Andres Taylor <andres@planetscale.com>

* chore: updated to newest version of cmp

Signed-off-by: Andres Taylor <andres@planetscale.com>

* test: refactor

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: simplify logstats printing

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add tables used for INSERT queries

Signed-off-by: Andres Taylor <andres@planetscale.com>

* feat: add ks for dual queries

Signed-off-by: Andres Taylor <andres@planetscale.com>

* comment: add deprecation warning to logstats fields

Signed-off-by: Andres Taylor <andres@planetscale.com>

* docs: add deprecation warning

Signed-off-by: Andres Taylor <andres@planetscale.com>

Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-07-21 11:16:06 +02:00
vitess-bot[bot] a8694307b9
docs: add the vtorc discovery bug as a known issue (#10724)
Signed-off-by: Manan Gupta <manan@planetscale.com>

Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-07-18 15:40:15 +02:00
Harshit Gangal 55a3912feb
added vindex interface breaking change to summary notes (#10693)
* added vindex interface breaking change to summary notes

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* Update doc/releasenotes/15_0_0_summary.md

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* Update doc/releasenotes/15_0_0_summary.md

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* Empty-Commit

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-07-15 10:50:21 +05:30
Shlomi Noach 5aa0891c2f
Online DDL: ALTER VITESS_MIGRATION COMPLETE ALL (#10694)
* Online DDL: ALTER VITESS_MIGRATION COMPLETE ALL

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* release notes

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2022-07-14 15:20:55 +03:00