canonical / canonical/ubuntu-com-security-api
Handle case when Primary and Replica IP Addresses switch
- Dominant language
- Python
- Stars
- 22
- Forks
- 9
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 2
Description
## Problem
Sometimes, the backend database we are using switches IP addresses between the primary and one of the replicas. We should check whether the database is in read only mode, and if so, then select the actual primary from the list of databases before making a commit
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the backend database commit path and the list of configured databases. Check how read-only status is exposed and how the actual primary is selected when primary and replica IP addresses switch. Done means commits use the writable primary after such a switch, with coverage for the read-only case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100