// TODO: we need to remove dangling references if the object is not to be
// TODO: we need to remove dangling references if the object is not to be
// deleted.
// deleted.
for_,reference:=rangeownerReferences{
for_,reference:=rangeownerReferences{
ifgc.absentOwnerCache.Has(reference.UID){
glog.V(6).Infof("according to the absentOwnerCache, object %s's owner %s/%s, %s does not exist",item.identity.UID,reference.APIVersion,reference.Kind,reference.Name)
continue
}
// TODO: we need to verify the reference resource is supported by the
// TODO: we need to verify the reference resource is supported by the
// system. If it's not a valid resource, the garbage collector should i)
// system. If it's not a valid resource, the garbage collector should i)
// ignore the reference when decide if the object should be deleted, and
// ignore the reference when decide if the object should be deleted, and