microsoft / microsoft/multiclouddb-sdk-for-java
Constitution compliance: add configurable safe retries
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 7
- Forks
- 7
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 1
Description
Problem
The constitution requires configurable retries with safe defaults: idempotent operations may retry by default, while non-idempotent operations require explicit opt-in. The SDK currently delegates to vendor defaults without a portable or provider-specific configuration contract.
Scope
- Define client-level retry configuration and operation idempotency classification.
- Map supported settings to Azure Cosmos, AWS DynamoDB, and Google Spanner retry policies while preserving vendor behavior that cannot be normalized.
- Define attempt/backoff/throttling diagnostics and validation.
- Keep provider-specific controls explicit and portable defaults safe.
Acceptance criteria
- Retry limits/backoff are configurable for every provider.
- Non-idempotent operations are not retried unless explicitly enabled.
- Defaults and unsupported provider-specific settings are documented and tested.
- Diagnostics expose provider-supplied throttling/backoff and retry attempts where available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the client-level configuration and provider integration entry points for Azure Cosmos, AWS DynamoDB, and Google Spanner; no files or tests are named in the issue. Compare current vendor retry behavior and define the portable settings, idempotency rules, diagnostics, validation, and documentation needed to satisfy the acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, azure, google-cloud, java
- Domain
- backend-api-design, cloud, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100