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

Support cancelling a region's compaction #4866

Open
evenyag opened this issue Oct 23, 2024 · 0 comments
Open

Support cancelling a region's compaction #4866

evenyag opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
C-enhancement Category Enhancements

Comments

@evenyag
Copy link
Contributor

evenyag commented Oct 23, 2024

What type of enhancement is this?

Tech debt reduction

What does the enhancement do?

Now we don't provide a way to cancel background jobs especially the compaction job. Compaction may be a long-running task. When migrating a region or stopping a region, we may want to cancel the compaction.

Implementation challenges

Now we may only expose this feature to components inside the mito engine. We may pass a cancellation token to compaction and check it.

@evenyag evenyag added the C-enhancement Category Enhancements label Oct 23, 2024
@evenyag evenyag self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements
Projects
None yet
Development

No branches or pull requests

1 participant