Skip to content

Conversation

@KKcorps
Copy link
Contributor

@KKcorps KKcorps commented Mar 27, 2025

We cannot support reingestion with dedup since deduping requires in-order consumption.

@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2025

Codecov Report

Attention: Patch coverage is 17.64706% with 14 lines in your changes missing coverage. Please review.

Project coverage is 63.21%. Comparing base (59551e4) to head (b39ecbe).
Report is 1934 commits behind head on master.

Files with missing lines Patch % Lines
.../core/realtime/PinotLLCRealtimeSegmentManager.java 0.00% 13 Missing ⚠️
...r/validation/RealtimeSegmentValidationManager.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #15383      +/-   ##
============================================
+ Coverage     61.75%   63.21%   +1.46%     
- Complexity      207     1375    +1168     
============================================
  Files          2436     2812     +376     
  Lines        133233   158982   +25749     
  Branches      20636    24354    +3718     
============================================
+ Hits          82274   100497   +18223     
- Misses        44911    50894    +5983     
- Partials       6048     7591    +1543     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.18% <17.64%> (+1.47%) ⬆️
java-21 63.18% <17.64%> (+1.55%) ⬆️
skip-bytebuffers-false 63.21% <17.64%> (+1.46%) ⬆️
skip-bytebuffers-true 63.15% <17.64%> (+35.43%) ⬆️
temurin 63.21% <17.64%> (+1.46%) ⬆️
unittests 63.20% <17.64%> (+1.46%) ⬆️
unittests1 56.24% <100.00%> (+9.35%) ⬆️
unittests2 33.82% <17.64%> (+6.09%) ⬆️

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.


if (isPauselessConsumptionEnabled) {
_llcRealtimeSegmentManager.repairSegmentsInErrorStateForPauselessConsumption(tableConfig.getTableName());
if (!(isPartialUpsertEnabled || isDedupEnabled)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might disable for enforceConsumptionInOrder = true case as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KKcorps, @9aman - We want to only disable re-ingestion right? Don't we want to still do reset for segments in error (i.e prevent triggerReingestion) and not entire repairSegmentsInErrorStateForPauselessConsumpti.

Copy link
Contributor

@swaminathanmanish swaminathanmanish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kartik

return;
}

boolean isPartialUpsertEnabled =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to move this after the warning log below. We should also log something because we are not able to fix the segments. Probably an error log

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably also emit a metric for error segments not able to fix. We need to get immediate alert on it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed

@KKcorps KKcorps merged commit 5550c24 into apache:master Mar 28, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants