Skip to content

server: drain manager has a main-thread vs worker race #31457

@jmarantz

Description

@jmarantz

Description:

DrainManagerImpl::drain_deadline_ can be written from the /drain_listeners` admin API while it's being read
from a worker thread.

Repro steps:

this can be replicated with a unit test that will be added to the fix PR. It can manifest as a tsan error or a hang.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions