Skip to content

patrol-region-worker-count can exceed schedule limits #10926

Description

@rleungx

Bug Report

When schedule.patrol-region-worker-count is greater than 1, multiple patrol workers can check the current operator count concurrently and all generate operators before any worker adds its operator to the operator controller.

As a result, patrol region checking can exceed schedule limits such as replica-schedule-limit, and similar races can affect merge or affinity operators.

Expected Behavior

Concurrent patrol workers should respect the configured schedule limits.

Affected Area

  • pkg/schedule/checker.Controller.PatrolRegions
  • operator admission from patrol region workers

Related PR

Fix: #10925

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions