Skip to content

[storm-client] Add missing logging to TridentBoltExecutor on tuple count mismatch failures#8414

Merged
rzo1 merged 1 commit intoapache:masterfrom
Ironankit525:fix-trident-logging
Mar 2, 2026
Merged

[storm-client] Add missing logging to TridentBoltExecutor on tuple count mismatch failures#8414
rzo1 merged 1 commit intoapache:masterfrom
Ironankit525:fix-trident-logging

Conversation

@Ironankit525
Copy link
Contributor

Addresses Issue #3 from static analysis.

When verifying if a Trident batch finish condition is met, the executor checks if the number of received tuples matches the number of actual tuple counts. If there is a mismatch, the executor invokes failBatch(tracked) and rejects the tuple, but without any logging indicating the mismatch.

This PR adds an SLF4J LOG.warn explaining the mismatch so that operators can correctly diagnose data loss or malformed batches.

Copy link
Contributor

@reiabreu reiabreu left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @Ironankit525

@reiabreu reiabreu requested a review from rzo1 March 1, 2026 22:15
@rzo1
Copy link
Contributor

rzo1 commented Mar 2, 2026

Thanks!

@rzo1 rzo1 added this to the 2.8.5 milestone Mar 2, 2026
@rzo1 rzo1 merged commit 6b1ab77 into apache:master Mar 2, 2026
12 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.

3 participants