Skip to content

Improve PPCB failback diagnostics - #50122

Draft
Abhijeet Mohanty (jeet1995) wants to merge 11 commits into
Azure:mainfrom
jeet1995:feature/per-partition-circuit-breaker-diagnostics
Draft

Improve PPCB failback diagnostics#50122
Abhijeet Mohanty (jeet1995) wants to merge 11 commits into
Azure:mainfrom
jeet1995:feature/per-partition-circuit-breaker-diagnostics

Conversation

@jeet1995

Copy link
Copy Markdown
Member

Description

  • Emit a compact ppcb.stateByRegion snapshot for every PPCB-enabled routed request, including healthy empty state.
  • Preserve independent PPCB snapshots for direct and gateway request attempts.
  • Sample background failback failures with constant memory while retaining partition, region, stage, and reason in each message.
  • Log every failback error path and retry escaped recovery-stream failures so background recovery remains active until client close.

Testing

  • Focused Java 8 compilation
  • Direct TestNG execution: 11 passed, 0 failed, 0 skipped
  • git diff --check

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
33 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@jeet1995

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@jeet1995

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@jeet1995

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant