Skip to content

Possible deadlock in RemoveExternalConnectivityWatcher #23366

@yashykt

Description

@yashykt

Internal reference - b/159559055

The issue is that inside the mutex protected critical region of RemoveExternalConnectivityWatcher, we call Cancel on the ExternalConnectivityWatcher. This Cancel call jumps into WorkSerializer which is unsafe since the lambda executed by the WorkSerializer might end up calling RemoveExternalConnectivityWatcher again leading to a deadlock.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions