add the uid in a delete event to the absentOwnerCache

pull/6/head
Chao Xu 2016-09-15 10:45:43 -07:00
parent 39e3c986cc
commit 21896dac4b
1 changed files with 1 additions and 0 deletions

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