Azure / Azure/azure-sdk-for-java

Modify PPAF orchestrated region markdown to react to only success or non-transient failure codes

Open
#49,008 0 comments 0 reactions 0 assignees View on GitHub
Cosmos CosmosPartitionLevelFailover feature-request
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

## Summary

Modify per-partition-automatic-failover (PPAF) orchestrated region markdown logic to only react to success status codes or non-transient failure codes.

## Details

- Currently, PPAF region markdown may react to transient failures, which can cause unnecessary failover orchestration
- Change the markdown evaluation logic to only trigger on:
- Success status codes
- Non-transient failure codes (permanent errors)
- Transient errors should not cause region markdown, as they are expected to resolve on retry

## Motivation

Prevents unnecessary PPAF region markdown on transient errors, reducing false-positive partition-level failovers and improving stability.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.