add the uid in a delete event to the absentOwnerCache

This commit is contained in:
Chao Xu
2016-09-15 10:45:43 -07:00
parent 39e3c986cc
commit 21896dac4b

View File

@@ -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