Skip to content

Kill vtctld commands that outlive the http request context#4189

Merged
sougou merged 1 commit intovitessio:masterfrom
dweitzman:vtctld_timeout
Sep 8, 2018
Merged

Kill vtctld commands that outlive the http request context#4189
sougou merged 1 commit intovitessio:masterfrom
dweitzman:vtctld_timeout

Conversation

@dweitzman
Copy link
Collaborator

Caution: I haven't tested this yet.

I've encountered situations where a vtctld command hangs and leaves a lock file sitting around in the topology.

The default timeout for vtctl is 24 hours, so in these situations you have to manually go into the topology and delete lock files.

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
@sougou sougou merged commit 88773f3 into vitessio:master Sep 8, 2018
@sougou
Copy link
Contributor

sougou commented Sep 8, 2018

I decided to merge this because other people have also run into this, and deleting the lock file in topo has generally been a bigger pain.

@dweitzman dweitzman deleted the vtctld_timeout branch January 7, 2019 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants