Skip to content

feat: implement skip toleration mechanism for batch rolling#161

Open
youngLiuHY wants to merge 1 commit into
mainfrom
feat-skipToleration
Open

feat: implement skip toleration mechanism for batch rolling#161
youngLiuHY wants to merge 1 commit into
mainfrom
feat-skipToleration

Conversation

@youngLiuHY

Copy link
Copy Markdown
Collaborator

When a batch is skipped, record the gap between expected and actual replicas as toleration. Subsequent batches can complete with a deficit within the accumulated toleration. On the last batch, toleration is not applied and strict check is required since there is no subsequent batch to compensate.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

When a batch is skipped, record the gap between expected and actual
replicas as toleration. Subsequent batches can complete with a deficit
within the accumulated toleration. On the last batch, toleration is
not applied and strict check is required since there is no subsequent
batch to compensate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@youngLiuHY youngLiuHY requested a review from zoumo June 23, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant