Skip to content

missed one util method that should derive partition id from uploaded segment name#13612

Merged
klsince merged 2 commits intoapache:masterfrom
klsince:bugfix_get_partition_id_fast_path
Jul 16, 2024
Merged

missed one util method that should derive partition id from uploaded segment name#13612
klsince merged 2 commits intoapache:masterfrom
klsince:bugfix_get_partition_id_fast_path

Conversation

@klsince
Copy link
Contributor

@klsince klsince commented Jul 15, 2024

Missed one util method which should try to get partition id from uploaded realtime segment directly, so extracted a util method to avoid

@klsince klsince changed the title missed one util method that cat derive partition id from uploaded segment name missed one util method that should derive partition id from uploaded segment name Jul 15, 2024
@klsince klsince requested a review from Jackie-Jiang July 15, 2024 22:43
@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 61.97%. Comparing base (59551e4) to head (550db92).
Report is 763 commits behind head on master.

Files Patch % Lines
...va/org/apache/pinot/common/utils/SegmentUtils.java 81.81% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #13612      +/-   ##
============================================
+ Coverage     61.75%   61.97%   +0.21%     
+ Complexity      207      198       -9     
============================================
  Files          2436     2554     +118     
  Lines        133233   140493    +7260     
  Branches      20636    21816    +1180     
============================================
+ Hits          82274    87065    +4791     
- Misses        44911    46818    +1907     
- Partials       6048     6610     +562     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (-0.01%) ⬇️
integration <0.01% <0.00%> (-0.01%) ⬇️
integration1 <0.01% <0.00%> (-0.01%) ⬇️
integration2 0.00% <0.00%> (ø)
java-11 35.15% <81.81%> (-26.56%) ⬇️
java-21 61.84% <81.81%> (+0.21%) ⬆️
skip-bytebuffers-false 61.94% <81.81%> (+0.19%) ⬆️
skip-bytebuffers-true 61.83% <81.81%> (+34.11%) ⬆️
temurin 61.97% <81.81%> (+0.21%) ⬆️
unittests 61.96% <81.81%> (+0.21%) ⬆️
unittests1 46.49% <81.81%> (-0.40%) ⬇️
unittests2 27.71% <0.00%> (-0.02%) ⬇️

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 3db93cc into apache:master Jul 16, 2024
@klsince klsince deleted the bugfix_get_partition_id_fast_path branch July 16, 2024 01:29
rajagopr pushed a commit to rajagopr/pinot that referenced this pull request Jul 17, 2024
…segment name (apache#13612)

* add one util method to derive partition id from uploaded segment names to avoid missing the segment name checks

* add tests
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.

3 participants