Skip to content

[Pipe] Include pending historical events in remaining count#18216

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:fix/pipe-remaining-historical-backlog
Jul 16, 2026
Merged

[Pipe] Include pending historical events in remaining count#18216
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:fix/pipe-remaining-historical-backlog

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • register data region sources in the per-pipe remaining event operator
  • include pending historical source resources that have not yet been materialized as events
  • add a unit test covering pending historical events in the remaining count

This prevents the remaining event count from reporting zero while historical resources are still waiting in the source queue.

Testing

  • mvn spotless:apply -pl iotdb-core/datanode (passed)
  • mvn test -pl iotdb-core/datanode -Dtest=PipeDataNodeRemainingEventAndTimeOperatorTest -DfailIfNoTests=false (timed out after 120 seconds without a compilation or test failure result)

@jt2594838 jt2594838 merged commit 823c47e into apache:master Jul 16, 2026
41 checks passed
@jt2594838 jt2594838 deleted the fix/pipe-remaining-historical-backlog branch July 16, 2026 09:09
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.

2 participants