[Bug] Updating of existing channel leads to unexpected removing of ephemeral nodes #1069

Closed
opened 2025-12-29 02:28:06 +01:00 by adam · 2 comments
Owner

Originally created by @vaskravchuk on GitHub (Jul 19, 2025).

in case of replacing streaming session:
7fce5065c4/hscontrol/poll.go (L239C4-L242C5)
defer function will be called which will put node to ephemeral GC
7fce5065c4/hscontrol/poll.go (L196)
unexpected node deletion from DB happens which can lead to the issue like #2697

Originally created by @vaskravchuk on GitHub (Jul 19, 2025). in case of replacing streaming session: https://github.com/juanfont/headscale/blob/7fce5065c45dc233240bd334d12999bbd7c50488/hscontrol/poll.go#L239C4-L242C5 defer function will be called which will put node to ephemeral GC https://github.com/juanfont/headscale/blob/7fce5065c45dc233240bd334d12999bbd7c50488/hscontrol/poll.go#L196 unexpected node deletion from DB happens which can lead to the issue like #2697
adam closed this issue 2025-12-29 02:28:06 +01:00
Author
Owner

@kradalby commented on GitHub (Sep 9, 2025):

Good find! Will have a look at this tomorrow.

@kradalby commented on GitHub (Sep 9, 2025): Good find! Will have a look at this tomorrow.
Author
Owner

@kradalby commented on GitHub (Sep 10, 2025):

This got moved around and should not happen after #2670

@kradalby commented on GitHub (Sep 10, 2025): This got moved around and should not happen after #2670
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1069