8000 bug: tailnet coordinator can drop node updates in race condition · Issue #7295 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
bug: tailnet coordinator can drop node updates in race condition #7295
Closed
@spikecurtis

Description

@spikecurtis

Spotted using the logging from #7260

The tailnet coordinator sometimes drops a Node update, causing connections to agents to fail to be established.

TestAgent_EnvironmentVariables.txt

See above logs for detailed sequence.

It's a classic concurrency bug:

  1. Grab the latest data
  2. Subscribe to updates

If an update comes in between 1 and 2, we miss it.

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0