Skip to content

join: duration flush does not fire on an idle input #103

Description

Bug

duration is meant to flush the join buffer on a timer. Run uses select with a default branch that calls blocking GetRecord. While the input is idle, the goroutine is stuck in GetRecord and never observes ticker.C. The buffer only flushes when another record arrives or the input closes.

Where

internal/pkg/pipeline/task/join/join.goselect { default: GetRecord(...); case <-tickerCh: flush }.

Expected

A configured duration should flush the buffer when the timer fires, even if no further records have arrived.

Found while auditing task READMEs in #96.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions