Skip to content

Fix the completed segment check when trying to add it as consuming segment#15401

Closed
Jackie-Jiang wants to merge 1 commit into
apache:masterfrom
Jackie-Jiang:add_consuming_check
Closed

Fix the completed segment check when trying to add it as consuming segment#15401
Jackie-Jiang wants to merge 1 commit into
apache:masterfrom
Jackie-Jiang:add_consuming_check

Conversation

@Jackie-Jiang
Copy link
Copy Markdown
Contributor

When segment is completed, regardless of wither consumption order is enforced, we should skip adding it as consuming segment, and wait for CONSUMING -> ONLINE state transition to bring it directly ONLINE

@Jackie-Jiang Jackie-Jiang added ingestion Related to data ingestion pipeline bugfix real-time Related to realtime table ingestion and serving labels Mar 28, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 28, 2025

Codecov Report

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

Project coverage is 63.21%. Comparing base (59551e4) to head (5b3fd78).
Report is 1944 commits behind head on master.

Files with missing lines Patch % Lines
...ata/manager/realtime/RealtimeTableDataManager.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #15401      +/-   ##
============================================
+ Coverage     61.75%   63.21%   +1.46%     
- Complexity      207     1375    +1168     
============================================
  Files          2436     2813     +377     
  Lines        133233   159065   +25832     
  Branches      20636    24360    +3724     
============================================
+ Hits          82274   100551   +18277     
- Misses        44911    50909    +5998     
- Partials       6048     7605    +1557     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.13% <0.00%> (+1.42%) ⬆️
java-21 63.19% <0.00%> (+1.57%) ⬆️
skip-bytebuffers-false 63.16% <0.00%> (+1.41%) ⬆️
skip-bytebuffers-true 63.17% <0.00%> (+35.44%) ⬆️
temurin 63.21% <0.00%> (+1.46%) ⬆️
unittests 63.21% <0.00%> (+1.46%) ⬆️
unittests1 56.21% <0.00%> (+9.32%) ⬆️
unittests2 33.86% <0.00%> (+6.12%) ⬆️

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.

@xiangfu0 xiangfu0 added the bug Something is not working as expected label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is not working as expected ingestion Related to data ingestion pipeline real-time Related to realtime table ingestion and serving

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants