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

Bug(batch): Zombie batch query runs for a long time in the system #13761

Closed
Li0k opened this issue Dec 1, 2023 · 2 comments
Closed

Bug(batch): Zombie batch query runs for a long time in the system #13761

Li0k opened this issue Dec 1, 2023 · 2 comments
Labels
type/bug Something isn't working
Milestone

Comments

@Li0k
Copy link
Contributor

Li0k commented Dec 1, 2023

Describe the bug

We have observed an unintended batch task that continues to execute in the system. This task lasts longer than 10h, thus affecting the execution of compaction in storage.

image

The reason for this is that the batch query will hold a snapshot, which is the basis for the compaction task to clean up the data, and we will determine the safe epoch of the task based on the snapshot.

image

Since the safe epoch cannot be raised, the compaction task cannot reclaim the expired data, resulting in a large number of tombstones in the system.

image

image

Error message/log

No response

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

nightly-20231123

Additional context

No response

@Li0k Li0k added the type/bug Something isn't working label Dec 1, 2023
@github-actions github-actions bot added this to the release-1.5 milestone Dec 1, 2023
@Li0k
Copy link
Contributor Author

Li0k commented Dec 1, 2023

@liurenjie1024

@liurenjie1024
Copy link
Contributor

Duplicated with #9732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants