Skip to content

test the checking logic of whether segment preloading is enabled for upsert table#14085

Merged
klsince merged 1 commit intoapache:masterfrom
klsince:add_test_enable_preload
Sep 26, 2024
Merged

test the checking logic of whether segment preloading is enabled for upsert table#14085
klsince merged 1 commit intoapache:masterfrom
klsince:add_test_enable_preload

Conversation

@klsince
Copy link
Contributor

@klsince klsince commented Sep 25, 2024

Add a test on the checking logic of whether segment preloading is enabled for upsert table.

There was a bug in 1.2.0 that preloading was not disabled when there was no threads for preloading, as raised up by issue: #14067. The bug got fixed by #13747 but it's better to add a test case to keep checking on this.

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.97%. Comparing base (59551e4) to head (27ed0e5).
Report is 1090 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14085      +/-   ##
============================================
+ Coverage     61.75%   63.97%   +2.22%     
- Complexity      207     1538    +1331     
============================================
  Files          2436     2596     +160     
  Lines        133233   143295   +10062     
  Branches      20636    21948    +1312     
============================================
+ Hits          82274    91679    +9405     
+ Misses        44911    44872      -39     
- Partials       6048     6744     +696     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.94% <ø> (+2.24%) ⬆️
java-21 63.87% <ø> (+2.24%) ⬆️
skip-bytebuffers-false 63.96% <ø> (+2.22%) ⬆️
skip-bytebuffers-true 63.84% <ø> (+36.11%) ⬆️
temurin 63.97% <ø> (+2.22%) ⬆️
unittests 63.97% <ø> (+2.22%) ⬆️
unittests1 55.57% <ø> (+8.68%) ⬆️
unittests2 34.46% <ø> (+6.73%) ⬆️

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.

@klsince klsince merged commit 4f113a8 into apache:master Sep 26, 2024
@klsince klsince deleted the add_test_enable_preload branch September 26, 2024 17:32
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