Skip to content

atelet: share the worker walk between the stats sweep and the drain suspend #4105

Open

Description

@yuekui2

statsPoller.collect and suspendStreamedActors both list workersDir, dial each worker and call GetActiveWorkloadStats. collect bounds concurrency with statsSweepConcurrency and puts one statsRPCTimeout over the dial and the call. The drain walk has its own copy. Move the walk into one helper that both call, with the limit and the dial passed in. The two dialers (statsPoller.dial and Atelet.dialWorker) need to share a type first.

Follow-up from review of #4031.

Activity

  1. added
    kind/cleanup
    on Nov 23, 2026
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

    area/nodekind/cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions