Skip to content

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Mar 26, 2025

Motivation

Following up on #24089 changes. The changes cause a regression which is visible in branch-3.0 where a test fails (org.apache.pulsar.sql.presto.TestCacheSizeAllocator#cacheSizeAllocatorTest). This test is missing from newer branches. The regression is caused by the logic added in #24089 to return 0 when bytes size <= 0.

Modifications

  • return 1 when bytes size <= 0 so that the previous behavior is preserved

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.25%. Comparing base (bbc6224) to head (aa908ef).
Report is 993 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24131      +/-   ##
============================================
+ Coverage     73.57%   74.25%   +0.68%     
+ Complexity    32624    32492     -132     
============================================
  Files          1877     1864      -13     
  Lines        139502   144453    +4951     
  Branches      15299    16479    +1180     
============================================
+ Hits         102638   107265    +4627     
+ Misses        28908    28733     -175     
- Partials       7956     8455     +499     
Flag Coverage Δ
inttests 26.67% <0.00%> (+2.08%) ⬆️
systests 23.16% <0.00%> (-1.16%) ⬇️
unittests 73.76% <100.00%> (+0.92%) ⬆️

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

Files with missing lines Coverage Δ
...e/bookkeeper/mledger/impl/EntryCountEstimator.java 93.44% <100.00%> (ø)

... and 1068 files with indirect coverage changes

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

@lhotari lhotari merged commit 82d3902 into apache:master Mar 26, 2025
54 checks passed
lhotari added a commit that referenced this pull request Mar 26, 2025
lhotari added a commit that referenced this pull request Mar 26, 2025
lhotari added a commit that referenced this pull request Mar 26, 2025
nodece pushed a commit to nodece/pulsar that referenced this pull request Mar 27, 2025
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 27, 2025
…stimation (apache#24131)

(cherry picked from commit 82d3902)
(cherry picked from commit e0a4d56)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 28, 2025
…stimation (apache#24131)

(cherry picked from commit 82d3902)
(cherry picked from commit e0a4d56)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 28, 2025
…stimation (apache#24131)

(cherry picked from commit 82d3902)
(cherry picked from commit e40c0b8)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 29, 2025
…stimation (apache#24131)

(cherry picked from commit 82d3902)
(cherry picked from commit e40c0b8)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 31, 2025
…stimation (apache#24131)

(cherry picked from commit 82d3902)
(cherry picked from commit e40c0b8)
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants