mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
add the uid in a delete event to the absentOwnerCache
This commit is contained in:
@@ -411,6 +411,7 @@ func (p *Propagator) processEvent() {
|
||||
// the node's owners list.
|
||||
p.removeDependentFromOwners(existingNode, removed)
|
||||
case event.eventType == deleteEvent:
|
||||
p.gc.absentOwnerCache.Add(accessor.GetUID())
|
||||
if !found {
|
||||
glog.V(6).Infof("%v doesn't exist in the graph, this shouldn't happen", accessor.GetUID())
|
||||
return
|
||||
|
Reference in New Issue
Block a user