matrixorigin / matrixorigin/matrixone

[Feature Request]: lock-service support cancel restart service and query phase

Open
#15,717 0 comments 0 reactions 1 assignee Claimed by @aptend View on GitHub
kind/feature needs-triage
Dominant language
Go
Stars
1.9k
Forks
311
Avg merge
1d 3h
Merged PRs (30d)
768

Description

### Is there an existing issue for the same feature request?

- [X] I have checked the existing issues.

### Is your feature request related to a problem?

#15194 introduced a lock-service graceful rolling-restart mechanism, but there are two problems:

1. after `SetRestartService` is called, the CN must be restarted otherwise it would not be able to serve lock request anymore, a cancel mechanism is needed to cancel `SetRestartService`, which enables the CN serving lock request without restart;
2. there is no way to query current phase of lock migration

### Describe the feature you'd like

Lock service support cancel restart service and support query phase

### Describe implementation you've considered

_No response_

### Documentation, Adoption, Use Case, Migration Strategy

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.