-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
good-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.Good starting point for new developers, which requires minimal understanding of Cilium.help-wantedPlease volunteer for this by adding yourself as an assignee!Please volunteer for this by adding yourself as an assignee!kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.
Description
If the connection restarts in
Lines 231 to 242 in ad322a1
restart: | |
watcher := iw.backend.ListAndWatch(ctx, "endpointIPWatcher", IPIdentitiesPath, 512) | |
for { | |
select { | |
// Get events from channel as they come in. | |
case event, ok := <-watcher.Events: | |
if !ok { | |
log.Debugf("%s closed, restarting watch", watcher.String()) | |
time.Sleep(500 * time.Millisecond) | |
goto restart | |
} |
the channel in
Line 274 in ad322a1
close(iw.synced) |
might be closed more than one time causing a panic.
Metadata
Metadata
Assignees
Labels
good-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.Good starting point for new developers, which requires minimal understanding of Cilium.help-wantedPlease volunteer for this by adding yourself as an assignee!Please volunteer for this by adding yourself as an assignee!kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.