Skip to content

[Bug]: PeriodicSequence reports large amount of remaining work / size when used with infinite stop time #32506

@scwhittle

Description

@scwhittle

What happened?

PeriodicSequence uses a restriction tracker that reports Progress as the portion of the range it has completed compared to the remaining outputs for the range.

Since the dofn it does not implement GetSize this ends up reporting a steady state of backlog even if the source is idle waiting for real-time to pass. It seems that it should report the size of the backlog (ie the scheduled events that have not yet fired but are behind now) instead.

This can cause runners to autoscale inappropriately for pipelines involving PeriodicSequence/PeriodicImpulse.

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions