Files
Chetan GowdaandGitHub 76f7612aaa Retry on DataLoss error from persistence layer (#6789)
## What changed?
Added `serviceerror.DataLoss` to `IsPersistenceTransientError()` so that
we can retry on these errors. The number of times to retry is configured
by the retry policy (which is max 2 attempts)

## Why?
We've observed that the persistence layer may not always be reliable
especially when you read immediately after writing. With this change we
retry once before giving up.

## How did you test it?
Added unit tests

## Potential risks
If the retry policy is modified in the future, we may retry more than
once.

## Documentation
N/A

## Is hotfix candidate?
No
2024-11-12 19:06:24 +00:00
..
2024-09-09 14:44:20 -07:00
2024-10-03 10:39:28 -07:00
2024-08-23 14:48:10 -06:00