Skip to content

[To dev/1.3][Pipe] Include pending historical events in remaining count (#18216)#18232

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-823c47e-dev-1.3
Jul 20, 2026
Merged

[To dev/1.3][Pipe] Include pending historical events in remaining count (#18216)#18232
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-823c47e-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

Backport #18216 (823c47ebd116232141b1253ad3e661a89bda2c5b) to dev/1.3.

  • 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. The cherry-pick conflict was limited to the existing extractor parameter naming on dev/1.3, which is retained in this backport.

Validation

  • mvn spotless:apply -pl iotdb-core/datanode
  • mvn test -pl iotdb-core/datanode -Dtest=PipeDataNodeRemainingEventAndTimeOperatorTest -Ddevelocity.off=true

@jt2594838
jt2594838 merged commit ce72fae into apache:dev/1.3 Jul 20, 2026
16 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.

2 participants