Feature request: Statistics provider should not run in write mode when the database is opened read-only.
Open
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 120
Description
When investigating #10852, I noted that StatsProvider attempts to update stats even when the database is opened in read-only mode. We should instead bring up StatsProvider read-only when the database itself is read-only.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing StatsProvider and the database-open path for read-only mode. Confirm how StatsProvider currently performs updates, then verify that a read-only database brings it up read-only and does not attempt writes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100