Vitess is a database clustering system for horizontal scaling of MySQL.
Перейти к файлу
Matt Lord b5ca7a6326
Improve Tablet Refresh Behavior in VReplication Traffic Switch Handling (#10058)
* Use lower tablet refresh timeout in vreplication traffic switching
And refresh all tablets in dry runs to alert the user to potential
issues.

* Check primary tablet health in the traffic switcher pre-check

* Add msgs about specific tablets that failed refresh to cmd output

* Keep function semantics the same but provide details if wanted
This keeps the previous behavior of ignoring partial refresh related
errors, while providing the defails of WHY we had a partial refresh
for anyone that's interested.

* Add partial refresh details to response message
This way the caller has that info and can decide what to do with
it (if anything).

* Update tests and vtadmin for updated refresh response message

* Cancel switch writes on partial tablet refresh when safe

Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-04-20 15:22:16 -04:00
.github Use git command instead of GitHub API to list modified files (#10106) 2022-04-20 15:03:39 +02:00
config VReplication: use db_filtered user for vstreams (#10080) 2022-04-20 09:57:49 -04:00
data/test
doc Addition of release notes for v13.0.1 (#10097) 2022-04-15 11:47:19 +02:00
docker Upgrade main to go1.18.1 (#10101) 2022-04-15 17:36:11 -07:00
examples Improve vtadmin-{up,down}.sh scripts for the local example (#10081) 2022-04-20 12:22:20 -04:00
go Improve Tablet Refresh Behavior in VReplication Traffic Switch Handling (#10058) 2022-04-20 15:22:16 -04:00
java
misc
proto Improve Tablet Refresh Behavior in VReplication Traffic Switch Handling (#10058) 2022-04-20 15:22:16 -04:00
resources/bin
support
test Use git command instead of GitHub API to list modified files (#10106) 2022-04-20 15:03:39 +02:00
tools Upgrade main to go1.18.1 (#10101) 2022-04-15 17:36:11 -07:00
vitess-mixin
web Improve Tablet Refresh Behavior in VReplication Traffic Switch Handling (#10058) 2022-04-20 15:22:16 -04:00
.codeclimate.yml
.dockerignore
.gitignore
.gitmodules
.golangci.yml
ADOPTERS.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
DCO
Dockerfile
GITHUB_SELF_HOSTED_RUNNERS.md
GOVERNANCE.md
GUIDING_PRINCIPLES.md
LICENSE
MAINTAINERS.md
Makefile Upgrade main to go1.18.1 (#10101) 2022-04-15 17:36:11 -07:00
README.md
SECURITY.md
SEVERITY.md
STEERING.md
bootstrap.sh
build.env Upgrade main to go1.18.1 (#10101) 2022-04-15 17:36:11 -07:00
dev.env
go.mod
go.sum
sonar-project.properties
test.go Upgrade main to go1.18.1 (#10101) 2022-04-15 17:36:11 -07:00

README.md

Maven Central Build Status codebeat badge Go Report Card FOSSA Status CII Best Practices Coverage

Vitess

Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding.

By encapsulating shard-routing logic, Vitess allows application code and database queries to remain agnostic to the distribution of data onto multiple shards. With Vitess, you can even split and merge shards as your needs grow, with an atomic cutover step that takes only a few seconds.

Vitess has been a core component of YouTube's database infrastructure since 2011, and has grown to encompass tens of thousands of MySQL nodes.

For more about Vitess, please visit vitess.io.

Vitess has a growing community. You can view the list of adopters here.

Reporting a Problem, Issue, or Bug

To report a problem, the best way to get attention is to create a GitHub issue using proper severity level based on this guide.

For topics that are better discussed live, please join the Vitess Slack workspace. You may post any questions on the #general channel or join some of the special-interest channels.

Follow Vitess Blog for low-frequency updates like new features and releases.

Security

Reporting Security Vulnerabilities

To report a security vulnerability, please email vitess-maintainers.

See Security for a full outline of the security process.

Security Audit

A third party security audit was performed by Cure53. You can see the full report here.

License

Unless otherwise noted, the Vitess source files are distributed under the Apache Version 2.0 license found in the LICENSE file.

FOSSA Status