cockroachdb / cockroachdb/cockroach
server: log max sync cluster setting
Open
A-storage
C-bug
T-storage
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently the `COCKROACH_LOG_MAX_SYNC_DURATION` environment variable controls how long to wait for a flush/sync of the diagnostics logs before crashing the process. The storage engine's counterpart is a default for a cluster setting `storage.max_sync_duration`. Cluster settings are more convenient (although only available/effective later in node start up). Consider adding a cluster setting.
Jira issue: CRDB-29104
Contributor guide
Assessment
This issue has not been assessed yet.