Azure / Azure/azure-rest-api-specs
[Sql Database] : Creating sql database in creation mode secondary does not obey the zone_redundant property
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
When creating a sql database , set the [create mode](https://github.com/Azure/azure-rest-api-specs/blob/b5c12286510fae45b196457d82f9ad70b967987a/specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/Databases.json#L880) to `Secondary` and [zoneRedundant ](https://github.com/Azure/azure-rest-api-specs/blob/b5c12286510fae45b196457d82f9ad70b967987a/specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/Databases.json#L1065) to `true`.
Actual: The zoneRedundant is set to `false`.
Expected:The zoneRedundant is set to `true`.
Note: The zoneRedundant could be set to `true` by updating.
Contributor guide
Research direction
Start with the linked specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/Databases.json, reading the createMode and zoneRedundant definitions around the referenced lines. Trace how Secondary creation is represented in this specification; done means the documented behavior matches the expected zoneRedundant=true result when creating a secondary database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi, sql
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100