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

Fixed back API of Crc32cIntChecksum #3826

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Mar 1, 2023

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
Copy link

Codecov Report

Merging #3826 (5e7b8b4) into master (6d00336) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             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.

Impacted Files Coverage Δ
...org/apache/bookkeeper/client/BookieInfoReader.java 65.40% <0.00%> (-9.73%) ⬇️
...g/apache/bookkeeper/client/MetadataUpdateLoop.java 80.00% <0.00%> (-7.15%) ⬇️
...g/apache/bookkeeper/proto/WriteEntryProcessor.java 76.05% <0.00%> (-5.64%) ⬇️
.../main/java/org/apache/bookkeeper/util/ZkUtils.java 77.31% <0.00%> (-5.16%) ⬇️
.../apache/bookkeeper/proto/ReadEntryProcessorV3.java 62.50% <0.00%> (-2.09%) ⬇️
...java/org/apache/bookkeeper/client/BKException.java 65.44% <0.00%> (-1.48%) ⬇️
...apache/bookkeeper/meta/MSLedgerManagerFactory.java 35.04% <0.00%> (-0.81%) ⬇️
...r/client/TopologyAwareEnsemblePlacementPolicy.java 77.13% <0.00%> (-0.56%) ⬇️
...va/org/apache/bookkeeper/bookie/EntryMemTable.java 84.32% <0.00%> (-0.55%) ⬇️
...ava/org/apache/bookkeeper/client/PendingAddOp.java 87.86% <0.00%> (-0.49%) ⬇️
... and 17 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@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