cockroachdb / cockroachdb/cockroach

server: log max sync cluster setting

Open
#105,546 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.