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

103 Коммитов

Автор SHA1 Сообщение Дата
deepthi c2c0ad2006 change default for use_super_read_only to true. set super-read-only in cnf files
Signed-off-by: deepthi <deepthi@planetscale.com>
2021-12-01 12:29:36 -08:00
deepthi 91e9d10721 inclusive naming: fix a few more master references that were missed earlier
Signed-off-by: deepthi <deepthi@planetscale.com>
2021-08-20 14:22:39 -07:00
deepthi a49702d9f9 more master->primary changes in docs, tests, functions and variables.
Use new flags for vtctl commands.

Signed-off-by: deepthi <deepthi@planetscale.com>
2021-08-10 19:52:24 -07:00
Vicent Marti 44caf156e7 endtoend: allow bulk-loading databases
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-04-21 10:51:32 +02:00
Sugu Sougoumarane c7004d279d vttablet: rename grace period to ShutdownSeconds
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-11-09 19:16:27 -08:00
deepthi fd0e865abb orc tests: regen rice-box.go to get changes to cnf file
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-09-24 16:04:44 -07:00
deepthi 2bf4532ca0 orc tests: change mysql test config for faster failure detection
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-09-24 12:04:06 -07:00
Sugu Sougoumarane f2f7b26592 orc: operator support
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-09-15 13:51:44 -07:00
Sugu Sougoumarane 0863c2ea02 orc: improved shard locking
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-09-15 13:48:18 -07:00
Sugu Sougoumarane 26c2dd3869 orc: cross_cell durability
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-09-15 13:48:01 -07:00
Sugu Sougoumarane b39bf89f21 orc: add custom replica user credentials
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-08-21 20:02:01 -07:00
Sugu Sougoumarane a56d7b47fd orc: tablet discovery
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-08-21 20:02:01 -07:00
Sugu Sougoumarane dce634623d vttablet refactor: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-07-22 21:25:38 -07:00
Sugu Sougoumarane 367d39453b vttablet: move gracePeriod to TabletConfig
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-07-22 21:25:38 -07:00
Sugu Sougoumarane 925768da8e vttablet: enable_replication_reporter -> tabletenv
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-07-22 21:25:38 -07:00
Sugu Sougoumarane 9ba72cc51c vttablet: move hc flags to tabletenv.TabletConfig
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-07-22 21:25:38 -07:00
deepthi 1acb6e0ad7 rename and deprecate RPCs, rename vars and files
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-07-02 11:22:18 -07:00
Shlomi Noach 04a543a49c orchestrator repo moved under openark/ org
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2020-06-23 15:29:49 +03:00
Sugu Sougoumarane b57fe7b116 yaml: DBConfigs WIP
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-20 19:54:46 -07:00
Sugu Sougoumarane ea22e4e67b yaml: all other fields
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Sugu Sougoumarane 1da39de509 yaml: consolidator
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Sugu Sougoumarane 4765ee1eb9 yaml: hot row protection
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Sugu Sougoumarane bb5a4576df yaml: oltp params
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Sugu Sougoumarane 9e29feb390 yaml: start transitioning: PoolSize
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Sugu Sougoumarane 5c9eaf12ca yaml: default.yaml for doc
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-04-18 18:30:22 -07:00
Morgan Tocker 81cb21f4ad Fix relay log path
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-21 11:45:07 -07:00
Morgan Tocker 92c7b11fba Fix regression introduced by #5326
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-13 13:01:22 -07:00
Ajeet jain 2623fe796f
default RBR for python tests, SBR for exclusions
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2019-12-31 15:38:45 +05:30
Derek Perkins 5402463421 config: add vt_monitoring user to init_db.sql
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2019-11-27 22:57:46 -07:00
Morgan Tocker 1edf7f4ba9 Move worker to shard 5
Merge in MariaDB 10.4 and use new config layout.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-26 09:18:05 -07:00
Morgan Tocker 6e464c8da7 Merge remote-tracking branch 'upstream/master' into morgo-improve-mycnf
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-26 09:13:21 -07:00
Morgan Tocker 2d3675bb5e Fix MySQL 8.0 unknown variable issue
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-13 10:54:11 -08:00
Morgan Tocker dfb3fe8188 Add back max_connections based on review
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-11 16:59:41 -08:00
Morgan Tocker 98d34fb9d9 Add myself to CODEOWNERS
Add links to issues for why testsuite requires SBR, sql-mode

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-03 07:33:31 -07:00
Morgan Tocker f079b1f1e4 Bump CI
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-29 22:07:14 -06:00
Morgan Tocker a9578250d6 Move undesired settings to default-fast.cnf
Remove sbr.cnf

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-29 21:30:56 -06:00
Morgan Tocker 4193d0378c Make sure 5.7 doesn't read 5.6 config file
Add SBR and sql-mode lines back in

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-29 20:31:17 -06:00
Morgan Tocker 7c7326a77b Add mysqlctl support for MariaDB 10.4
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-29 13:38:30 -06:00
Morgan Tocker 71e9042b14 Merge remote-tracking branch 'upstream/master' into morgo-improve-mycnf
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-27 20:43:22 -06:00
Morgan Tocker 4ae9c03e74 Implement a small subset of config file refactor
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-27 17:59:45 -06:00
Morgan Tocker 29a1ac410a Improve my.cnf draft
The binlog tests still fail.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-19 20:18:30 -06:00
Shane Hender d7b4109c7e Remove binlog statement format config setting
Signed-off-by: Shane Hender <henders@gmail.com>
2019-10-16 17:26:01 -07:00
Morgan Tocker 00dfc65f38 Add initial support for capabilities (#4987)
* Add initial support for capabilities

This eliminates the need to set MYSQL_FLAVOR

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

* Removed MYSQL_FLAVOR variable precedence

It will cause backwards compatibility problems,
since many users set "MySQL56" for any MySQL system.

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

* Address PR feedback (WIP)

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

* Fixed mysql_safe to not use capabilitities

Reverted small changes to configs

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

* fix version detection

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

* Fix style, re-add EXTRA_MY_CNF from review

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

* Address review feedback

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

* address remaining feedback

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

* Remove rogue added space

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

* Address PR feedback

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

* Address PR feedback

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

* Fix broken test

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

* Fixed tests

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

* Addressed PR feedback

Added tests for version detection

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

* update copyright

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

* Remove unset MYSQL_FLAVOR

I thought about this: it's a bad idea.
It means that if there was a test that created 2 mysqld's, the usage
would not be repeatable/idempotent.

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

* Make sure error is caught.

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

* Address PR Feedback

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-07 23:41:43 -07:00
Morgan Tocker ca0c393887 Improve my.cnf files
Partially addresses #4990

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-07-15 12:12:25 -07:00
teejae 7329452df3 Add strong warning against production use to example init_db.sql file (#4815)
* Add strong warning against production use to example init_db.sql file

Signed-off-by: Toliver Jue <toliver@planetscale.com>
2019-04-16 22:12:37 -07:00
Sugu Sougoumarane b383d0051c
Merge pull request #4727 from planetscale/ds-vt-dbname
Allow multiple databases in one mysql instance
2019-04-16 12:42:09 -07:00
Deepthi Sigireddi f3bfe8b414
Merge pull request #4695 from planetscale/ds-xtrabackup
xtrabackup implementation with testcases
2019-04-11 10:27:42 -07:00
deepthi 0985ddd80f add db_name to _vt.local_metadata and _vt.shard_metadata
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-04-09 16:41:29 -07:00
deepthi 595448a530 add auth config, add MySQL80 flavor handling in mysqld
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-04-08 15:19:25 -07:00
deepthi a3b7b04f08 MySQL 8.0 should be started with mysqlx=0
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-04-08 15:19:25 -07:00