Skip to content

logpuller: remove unnecessary event buffering #6021

Description

@lidezhu

Background

The log puller currently enables buffering in the dynamic stream to avoid cleanup work being triggered directly from event handling.

With span cleanup deferred to the failure handler's run loop, event handling no longer needs to call back into the dynamic stream.

Proposal

Disable the dynamic stream buffer and defer drained-span cleanup to the failure handler.

Benefits

  • Simplify the event-processing path.
  • Remove unnecessary buffering and its associated overhead.
  • Keep span cleanup outside of dynamic stream event handling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-8.5This bug affects the 8.5.x(LTS) versions.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions