Skip to content

Conversation

@xiangyuf
Copy link
Contributor

Purpose

Linked issue: close #4917

Introduce DelayedLookupCompactManager to support delayed lookup compaction

Tests

DelayedLookupCompactManagerTest#testDelayedLookupCompactionBeforeThreshold
DelayedLookupCompactManagerTest#testDelayedLookupCompactionAfterThreshold
KeyValueFileStoreWriteTest#testDelayedLookupPartition
WriterOperatorTest#testDelayedLookupWithFailure

API and Format

Introduce hasDelayedCompact() in RecordWriter and CompactManager

Documentation

@wwj6591812
Copy link
Contributor

@xiangyuf
Thx for prepare this PR, left some comments.
BTW, a question:
The frequency of update data into historical partitions is very high in your business scenario?

@xiangyuf
Copy link
Contributor Author

@wwj6591812 yes, the updates are uploaded from mobile devices. It is very common the updates are out of order for more than one week.

@xiangyuf xiangyuf force-pushed the delayed_lookup branch 3 times, most recently from c222ce9 to 5b3f946 Compare February 24, 2025 15:40
@xiangyuf
Copy link
Contributor Author

@wwj6591812 Thx for review. All comments are resolved.

@xiangyuf
Copy link
Contributor Author

CI passed in local repo.

image

@xiangyuf
Copy link
Contributor Author

@wwj6591812 @JingsongLi PTAL

@xiangyuf
Copy link
Contributor Author

@Aitozi

@JingsongLi
Copy link
Contributor

Close this in favor of #5178

@JingsongLi JingsongLi closed this Mar 3, 2025
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.

[Feature] Support a time-aware compaction strategy for historical partitions in PK Table

3 participants