Skip to content

[WAGED Tag Isolation 4/16] Add the bookkeeping class - #284

Draft
LZD-PratyushBhatt wants to merge 1 commit into
lzd/waged-iso-03-collisionfrom
lzd/waged-iso-04-skeleton
Draft

LZD-PratyushBhatt wants to merge 1 commit into
lzd/waged-iso-03-collisionfrom
lzd/waged-iso-04-skeleton

Conversation

@LZD-PratyushBhatt

Copy link
Copy Markdown
Collaborator

Description

Introduce InstanceTagIsolation, the object that will let WAGED tolerate one
unplaceable instance group instead of aborting the whole pass.

This is the bookkeeping half only: the isolation group key of a replica,
the record of what the run has placed per group, the sets of groups seen
and failed, and the throwaway failure sink that keeps a tolerated failure
from marking the returned assignment as failed.

Every method returns immediately when the feature is disabled. Nothing
constructs the class yet.

Stacked PR 4 of 16 for WAGED instance tag isolation.
Base branch: lzd/waged-iso-03-collision. Only the top commit belongs to this PR.
The whole stack merges into waged-tag-based-isolation, which is merged into dev at the end.

Tests

No behavior to test yet: nothing constructs the class. The tests arrive
with the PRs that make it reachable.

mvn test-compile -pl helix-core: BUILD SUCCESS

Changes that Break Backward Compatibility

None. The new cluster config flag defaults to false, and with it off every
code path added here behaves exactly as it does today.

Documentation

The design doc lands in lzd/waged-iso-13-doc as
docs/design/002-waged-instance-tag-isolation.md.

Code Quality

Formatted with helix-style.xml.

Introduce InstanceTagIsolation, the object that will let WAGED tolerate
one unplaceable instance group instead of aborting the whole pass.

This change only adds the bookkeeping half: the isolation group key of a
replica, the record of what this run has placed per group, the set of
groups seen and groups failed, and the throwaway failure sink that keeps
a tolerated failure from marking the returned assignment as failed.

Every method returns immediately when the feature is disabled, so wiring
it up later cannot change the default behavior. Nothing constructs the
class yet.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@LZD-PratyushBhatt
LZD-PratyushBhatt added this pull request to stack #297 September 20, 2026 05:46
@LZD-PratyushBhatt LZD-PratyushBhatt changed the title Add the instance tag isolation bookkeeping class [WAGED Tag Isolation 4/16] Add the instance tag isolation bookkeeping class Sep 20, 2026
@LZD-PratyushBhatt LZD-PratyushBhatt added the waged-tag-level-isolation Opt-in WAGED failure isolation per instance group tag (clique) label Sep 20, 2026
@LZD-PratyushBhatt LZD-PratyushBhatt changed the title [WAGED Tag Isolation 4/16] Add the instance tag isolation bookkeeping class [WAGED Tag Isolation 4/16] Add the bookkeeping class Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waged-tag-level-isolation Opt-in WAGED failure isolation per instance group tag (clique)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant