mirror of https://github.com/k3s-io/k3s
add the uid in a delete event to the absentOwnerCache
parent
39e3c986cc
commit
21896dac4b
|
@ -411,6 +411,7 @@ func (p *Propagator) processEvent() {
|
||||||
// the node's owners list.
|
// the node's owners list.
|
||||||
p.removeDependentFromOwners(existingNode, removed)
|
p.removeDependentFromOwners(existingNode, removed)
|
||||||
case event.eventType == deleteEvent:
|
case event.eventType == deleteEvent:
|
||||||
|
p.gc.absentOwnerCache.Add(accessor.GetUID())
|
||||||
if !found {
|
if !found {
|
||||||
glog.V(6).Infof("%v doesn't exist in the graph, this shouldn't happen", accessor.GetUID())
|
glog.V(6).Infof("%v doesn't exist in the graph, this shouldn't happen", accessor.GetUID())
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue