Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lock timeout in DistSQL #34134

Closed
terrymanu opened this issue Dec 24, 2024 · 2 comments · Fixed by #34169
Closed

Add lock timeout in DistSQL #34134

terrymanu opened this issue Dec 24, 2024 · 2 comments · Fixed by #34169

Comments

@terrymanu
Copy link
Member

Add lock timeout in DistSQL LOCK CLUSTER WITH lockStrategy and UNLOCK CLUSTER.

The new attribute LOCK TIMEOUT should be optional. The SQL should be:

LOCK CLUSTER WITH lockStrategy (TIMEOUT int)? and UNLOCK CLUSTER (TIMEOUT int)?.

The todolist should be:

  1. Update G4 file
  2. Update LockClusterExecutor and UnlockClusterExecutor with Add todo on cluster lock #34133's TODO
  3. Update document
  4. Add test cases
@lubochen
Copy link
Contributor

Hi @terrymanu ,could you please assign this issue to me? Thank you.

@terrymanu
Copy link
Member Author

Great, welcome! @lubochen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment