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(s3stream/wal): group commit #422

Merged
merged 17 commits into from
Oct 23, 2023
Merged

Conversation

Chillax-0v0
Copy link
Contributor

No description provided.

Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
Signed-off-by: Ning Yu <ningyu@automq.com>
@Chillax-0v0 Chillax-0v0 added s3stream wal the WAL of S3 stream labels Oct 20, 2023
@Chillax-0v0 Chillax-0v0 self-assigned this Oct 20, 2023
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #422 (d0fd5a6) into main (a1ab50f) will increase coverage by 1.27%.
Report is 9 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #422      +/-   ##
============================================
+ Coverage     58.79%   60.07%   +1.27%     
- Complexity      773      792      +19     
============================================
  Files            94       94              
  Lines          5655     5686      +31     
  Branches        525      528       +3     
============================================
+ Hits           3325     3416      +91     
+ Misses         2014     1951      -63     
- Partials        316      319       +3     
Components Coverage Δ
RocketMQ Broker ∅ <ø> (∅)
RocketMQ Common 12.50% <ø> (ø)
RocketMQ Controller 59.18% <ø> (+0.39%) ⬆️
RocketMQ Proxy 44.63% <ø> (+5.77%) ⬆️
RocketMQ Store 74.45% <ø> (-0.09%) ⬇️
RocketMQ Stream ∅ <ø> (∅)
RocketMQ Metadata 18.00% <ø> (ø)

see 13 files with indirect coverage changes

@github-actions
Copy link

github-actions bot commented Oct 20, 2023

Qodana for JVM

3 new problems were found

Inspection name Severity Problems
Class is exposed outside of its visibility scope 🔶 Warning 2
Declaration has problems in Javadoc references 🔶 Warning 1

💡 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 qodana-support@jetbrains.com

// TODO use composite buffer
if (requiredCapacity > data.capacity()) {
int newCapacity = Math.max(data.capacity() * 2, (int) requiredCapacity);
ByteBuffer newData = ByteBuffer.allocate(newCapacity);
Copy link
Contributor

Choose a reason for hiding this comment

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

Use DirectByteBufAlloc to alloc and free bytebuf

@Chillax-0v0
Copy link
Contributor Author

to #173
fix AutoMQ/automq#377

Signed-off-by: Ning Yu <ningyu@automq.com>
@superhx superhx merged commit 0f0cc4a into main Oct 23, 2023
9 checks passed
@superhx superhx deleted the feat-s3-stream-wal-group-commit branch October 23, 2023 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s3stream wal the WAL of S3 stream
Projects
None yet
2 participants