8000 log: log emitted prior to logging init crashes node · Issue #147336 · cockroachdb/cockroach · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
log: log emitted prior to logging init crashes node #147336
Closed as not planned
Closed as not planned
@dhartunian

Description

@dhartunian

Emitting a log prior to log.ApplyConfig will crash the cluster due to the active bit being set prior to configuration. The system is designed to only set the active bit once during startup and we force it to be set once we emit the first log line in order to ensure that our logging config captures everythig in the same place.

We should consider making the pre-ApplyConfig test configuration, which emits logs to stderr, opt out of this behavior.

Jira issue: CRDB-51006

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-observability

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0