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

Issue 2875 - System test Rust compaction #3024

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

patchwork01
Copy link
Collaborator

@patchwork01 patchwork01 commented Aug 6, 2024

Make sure you have checked all steps below.

Issue

Tests

  • My PR adds the following tests OR does not need testing for this extremely good reason:
    • Updated CompactionST, CompactionOnEC2ST
    • Ran both test classes in AWS

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it, or I have linked to a
    separate issue for that below.
  • If I have added, removed, or updated any external dependencies used in the project, I have updated the
    NOTICES file to reflect this.

@patchwork01 patchwork01 marked this pull request as ready for review August 6, 2024 10:07
private CompactionRunner createRunnerForMethod(CompactionMethod method) {
switch (method) {
case RUST:
return new RustCompaction(tablePropertiesProvider, stateStoreProvider);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there any scenario where we'd need to create the RustCompaction outside this method in the future, if so moving it out to a separate private method like the java runner might be worth it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that'd be easy enough that there's no reason to do it now, unless it'd actually read better?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Was just a note for future ideas, approved as it was fine without

@patchwork01 patchwork01 merged commit 823ec6d into develop Aug 7, 2024
15 checks passed
@patchwork01 patchwork01 deleted the 2875-system-test-rust-compaction branch August 7, 2024 12:56
@rtjd6554 rtjd6554 mentioned this pull request Sep 17, 2024
4 tasks
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.

System test for Rust compaction
2 participants