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(s3stream): compaction fix #506

Merged
merged 4 commits into from
Oct 31, 2023
Merged

fix(s3stream): compaction fix #506

merged 4 commits into from
Oct 31, 2023

Conversation

SCNieh
Copy link
Contributor

@SCNieh SCNieh commented Oct 30, 2023

  1. change copyAndWrite to readAndWrite in force split to reduce S3 API invocation
  2. limit memory consumption in force split
  3. separate force split and compaction into different commit request

1. wait for force split done before do WAL compaction
2. sanity check
covers only compacted objects

Signed-off-by: Shichao Nie <[email protected]>
@SCNieh SCNieh requested a review from superhx October 30, 2023 04:03
@codecov
Copy link

codecov bot commented Oct 30, 2023

The author of this PR, SCNieh, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don't hesitate to email us at [email protected] with any questions.

@github-actions
Copy link

github-actions bot commented Oct 30, 2023

Qodana for JVM

3 new problems were found

Inspection name Severity Problems
Field can be local 🔶 Warning 3

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

1. change copyAndWrite to readAndWrite in force split to reduce S3 API
invocation
2. limit memory consumption in force split
3. separate force
split and compaction into different commit request

Signed-off-by: Shichao Nie <[email protected]>
pair.getValue().completeExceptionally(ex);
}
return null;
}).join();
Copy link
Contributor

Choose a reason for hiding this comment

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

The join operation only makes prepareObject sequence.

@superhx superhx merged commit ef5e9b0 into main Oct 31, 2023
8 of 9 checks passed
@superhx superhx deleted the compaction_leak branch October 31, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants