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

feat(remote_wal): split an entry if it's too large #3092

Merged
merged 20 commits into from
Jan 5, 2024

Conversation

niebayes
Copy link
Contributor

@niebayes niebayes commented Jan 3, 2024

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Split an entry if it's too large.

Reverted an ignored sqlness test, see: #3050

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

Refer to a related PR or issue link (optional)

#3049
#3050

@niebayes niebayes self-assigned this Jan 3, 2024
@github-actions github-actions bot added Size: L docs-required This change requires docs update. labels Jan 3, 2024
@niebayes niebayes changed the title feat: split an entry if it's too large feat(remote_wal): split an entry if it's too large Jan 3, 2024
@niebayes niebayes added docs-not-required This change does not impact docs. and removed docs-required This change requires docs update. Size: L labels Jan 3, 2024
@niebayes niebayes mentioned this pull request Jan 3, 2024
14 tasks
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (702ea32) 85.63% compared to head (45c1860) 85.67%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3092      +/-   ##
==========================================
+ Coverage   85.63%   85.67%   +0.03%     
==========================================
  Files         806      807       +1     
  Lines      131606   132525     +919     
==========================================
+ Hits       112706   113543     +837     
- Misses      18900    18982      +82     

src/log-store/src/kafka/log_store.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/log_store.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/log_store.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/log_store.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/log_store.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/mito2/src/region_write_ctx.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
@github-actions github-actions bot added Size: XL and removed Size: L labels Jan 4, 2024
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/datanode/src/datanode.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/lib.rs Outdated Show resolved Hide resolved
src/datanode/src/datanode.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Outdated Show resolved Hide resolved
src/log-store/src/kafka/util/record.rs Show resolved Hide resolved
Copy link
Member

@WenyXu WenyXu left a comment

Choose a reason for hiding this comment

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

LGTM🚀

@niebayes niebayes enabled auto-merge January 5, 2024 12:31
Copy link
Contributor

@v0y4g3r v0y4g3r left a comment

Choose a reason for hiding this comment

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

LGTM

@niebayes niebayes added this pull request to the merge queue Jan 5, 2024
Merged via the queue into main with commit 7830363 Jan 5, 2024
23 checks passed
@niebayes niebayes deleted the feat/split_large_entry branch January 5, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[remote_wal] Split a log store entry if it cannot fit into a Kafka record
5 participants