You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vttablet crashes after many hours of running and a broken connection occurs between the vttablet and the external MySQL db host. It's common to see broken connections every once in a while but the crashes only seem to happen after the tablet has been left running for many hours.
Seems to be related to #5413 but was dismissed due to outdated vitess image.
Reproduction Steps
N/A
Binary version
vttablet --version
Version: 10083991b (Git branch 'master') built on Thu Jan 16 21:25:10 UTC 2020 by root@577cbc709acd using go1.12.14 linux/amd64
Operating system and Environment details
OS, Architecture, and any other information you can provide
about the environment.
Fixesvitessio#5752
DBClient was setting the connection to nil after close, which was
causing vreplication to panic because it defers a Rollback on all
connections. The safer thing is to close the connection, but not
set it to nil.
There's no test for DBClient, but I've manually verified that this
won't panic any more.
Signed-off-by: Sugu Sougoumarane <[email protected]>
Overview of the Issue
vttablet crashes after many hours of running and a broken connection occurs between the vttablet and the external MySQL db host. It's common to see broken connections every once in a while but the crashes only seem to happen after the tablet has been left running for many hours.
Seems to be related to #5413 but was dismissed due to outdated vitess image.
Reproduction Steps
N/A
Binary version
Operating system and Environment details
OS, Architecture, and any other information you can provide
about the environment.
cat /etc/os-release
):uname -sr
):uname -m
):Log Fragments
panic trace
https://gist.github.com/flopex/05d58c97d7066db0a474fdb97fbfc930
The text was updated successfully, but these errors were encountered: