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

[compaction]refact compaction work operator for supporting multi unaware bucket tables. #3175

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

wg1026688210
Copy link
Contributor

@wg1026688210 wg1026688210 commented Apr 8, 2024

related #2670

Purpose

Linked issue: close #xxx

Tests

AppendOnlyMultiTableCompactionWorkerOperatorTest.java for test AppendOnlyMultiTableCompactionWorkerOperator

API and Format

Documentation

* The help class for the Compaction of unware bucket append table to execute {@link
* AppendOnlyCompactionTask}.
*/
public class UnwareBucketCompactionHelper {
Copy link
Contributor

Choose a reason for hiding this comment

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

UnwareBucketCompactor ? This class actually does the compaction job, so it is the real compactor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

this.compactExecutorsupplier = lazyCompactExecutor;
}

public void processElement(StreamRecord<AppendOnlyCompactionTask> element) throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

public void submit(AppendOnlyCompactionTask task) throws Exception? Compactor does not need to access StreamRecord, just pass AppendOnlyCompactionTask to it is okay.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@wg1026688210 wg1026688210 force-pushed the compaction/2_refact_append_only_compaction_work_operator branch from 046e5fe to 28e7f20 Compare May 9, 2024 08:22
@wg1026688210 wg1026688210 force-pushed the compaction/2_refact_append_only_compaction_work_operator branch from 5abf5e3 to 4b86018 Compare May 12, 2024 03:52
@wg1026688210 wg1026688210 reopened this May 12, 2024
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.

None yet

2 participants