Skip to content

Add tests for affinity routing under retry and scope fallback/recovery #43

@m-szymon

Description

@m-szymon

Affinity routing is only tested for deterministic single-node targeting; its behavior under retries and scope fallback/recovery is not covered.

Include:

  • affinity + retry within one request (retry walks the same per-request affinity QueryPlan, not the failed node)
  • affinity + scope fallback when the preferred scope becomes unavailable
  • affinity + recovery back to the primary scope once it returns

Expected outcome:

  • a failed affinity-selected node leads to the next node from the same plan, not a restart or reuse
  • routing stays deterministic within the live fallback set during failure
  • routing returns to the primary scope after recovery

Part of #41.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions