Skip to content

Fixed back API of Crc32cIntChecksum#3826

Merged
hezhangjian merged 1 commit into
apache:masterfrom
merlimat:fix-crc-api
Mar 1, 2023
Merged

Fixed back API of Crc32cIntChecksum#3826
hezhangjian merged 1 commit into
apache:masterfrom
merlimat:fix-crc-api

Conversation

@merlimat

@merlimat merlimat commented Mar 1, 2023

Copy link
Copy Markdown
Contributor

Motivation

In #3810 the signature of Crc32cIntChecksum.resumeChecksum() was changed to accept offset & len in the buffer.

Since this method is also used externally (in Pulsar), we should leave also the old method signature to avoid breaking the API when upgrading BK.

@merlimat merlimat added this to the 4.16.0 milestone Mar 1, 2023
@merlimat
merlimat requested a review from hangc0276 March 1, 2023 01:46
@merlimat merlimat self-assigned this Mar 1, 2023
@codecov-commenter

codecov-commenter commented Mar 1, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.39%. Comparing base (6d00336) to head (5e7b8b4).
⚠️ Report is 546 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3826      +/-   ##
============================================
+ Coverage     68.37%   68.39%   +0.01%     
- Complexity     6759     6760       +1     
============================================
  Files           473      473              
  Lines         40972    40972              
  Branches       5241     5241              
============================================
+ Hits          28015    28021       +6     
+ Misses        10699    10698       -1     
+ Partials       2258     2253       -5     
Flag Coverage Δ
bookie 39.84% <ø> (+0.02%) ⬆️
client 44.24% <ø> (+0.06%) ⬆️
remaining 29.51% <ø> (-0.01%) ⬇️
replication 41.38% <ø> (-0.06%) ⬇️
tls 20.98% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hezhangjian
hezhangjian merged commit 73294ce into apache:master Mar 1, 2023
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
### Motivation

In apache#3810 the signature of `Crc32cIntChecksum.resumeChecksum()` was changed to accept `offset` & `len` in the buffer.

Since this method is also used externally (in Pulsar), we should leave also the old method signature to avoid breaking the API when upgrading BK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants