Add system variables for config.yaml settings, like `archive_level` and `auto_gc`
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 121
Description
Dolt v1.53.2
Currently, some server features must be set in `config.yaml`, but there is no corresponding system variable to read against the live server to inspect whether these features have been enabled.
Two settings in particular would be nice to have as system variables:
`auto_gc_enabled`
`archive_level`
I think Postgres has a variable for its automatic garbage collection, like:
```sql
SHOW autovacuum;
-- returns "on" or "off"
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how settings from config.yaml are loaded and how existing SQL system variables expose live server state. Compare the requested auto_gc_enabled and archive_level behavior with the referenced SHOW autovacuum example. Done means both settings can be queried as system variables and accurately reflect the running server configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100