Open
Description
Is your feature request related to a problem? Please describe.
In a recent issue1, a user started a single node using --max-offset=5000ms
(combined with --disable-max-offset-check
) to evaluate performance of an
insert workload. However, CRDB really isn't functional with a --max-offset
of
that magnitude; max offsets must not exceed be a small fraction of the liveness
heartbeat interval.
We could've saved a good amount of time diagnosing this had it been impossible
to start a server with this value.
Describe the solution you'd like
Refuse to start with --max-offset
outside an admissible range.
Describe alternatives you've considered
Additional context
See #127969.
Jira issue: CRDB-41304
Epic CRDB-43580
Footnotes
Metadata
Metadata
Assignees
Labels
Pertains to CLI flag handling common to all CLI commandsCLI commands that pertain to CockroachDB server processesSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docsIssues/test failures with no fix SLAKV TeamFailures and bugs on the master branch.