Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/clusterconditions/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ func (c *Cache) Match(ctx context.Context, condition *configv1.ClusterCondition)
detail = fmt.Sprintf(" (last evaluated on %s)", thiefResult.When)
}
klog.V(2).Infof("%s is the most stale cached cluster-condition match entry, but it is too fresh%s. However, we don't have a cached evaluation for %s, so attempt to evaluate that now.", thiefKey, detail, key)
thiefKey = key
targetCondition = condition
}

// if we ended up stealing this Match call, log that, to make contention more clear
Expand Down