cockroachdb / cockroachdb/cockroach
server: ensure that decommissioning events are written to the eventlog
Open
A-kv
A-kv-decom-rolling-restart
A-server-start-drain
C-enhancement
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In [(Internal) Slack Thread](https://cockroachlabs.slack.com/archives/C01CNRP6TSN/p1677870405265369), it was noted that decommissioning events are not recorded in `system.eventlog` if a node has been drained. This should be rectified so that events for transition to both `decommissioning` and `decommissioned` states are recorded, regardless of whether the node has been drained or not. This may be part of https://github.com/cockroachdb/cockroach/issues/82475, in the aim of providing greater observability, or may be implemented entirely separately.
Jira issue: CRDB-25259
Contributor guide
Assessment
This issue has not been assessed yet.