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

fix(meta): fix time travel GC bug #20108

Merged
merged 2 commits into from
Jan 11, 2025
Merged

fix(meta): fix time travel GC bug #20108

merged 2 commits into from
Jan 11, 2025

Conversation

zwang28
Copy link
Contributor

@zwang28 zwang28 commented Jan 11, 2025

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

This PR fixes the time travel GC bug that may incorrectly delete objects still being used.
The bug is more likely to arise in situations of very high I/O latency.
The bug was introduced in version 2.1.0, so version 2.0 or earlier are not affected.

Checklist

  • I have written necessary rustdoc comments.
  • I have added necessary unit tests and integration tests.
  • I have added test labels as necessary.
  • I have added fuzzing tests or opened an issue to track them.
  • My PR contains breaking changes.
  • My PR changes performance-critical code, so I will run (micro) benchmarks and present the results.
  • My PR contains critical fixes that are necessary to be merged into the latest release.

Documentation

  • My PR needs documentation updates.
Release note

Copy link
Collaborator

@hzxa21 hzxa21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@zwang28 zwang28 added this pull request to the merge queue Jan 11, 2025
Copy link
Contributor

@Li0k Li0k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the fix

Merged via the queue into main with commit 326ec19 Jan 11, 2025
31 of 32 checks passed
@zwang28 zwang28 deleted the wangzheng/fix_gc branch January 11, 2025 08:01
github-actions bot pushed a commit that referenced this pull request Jan 11, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants