// Not having sent any requests yet counts as an "update pending" since you're supposed to resend
// So there are no new names and we are interested in nothing. This may either mean that we want
// At this point, we have no changes in subscription resources and this isn't a first request in
// because even if it's empty, it won't be interpreted as legacy wildcard subscription, which can
// only for the first request in the stream. So sending an empty request at this point should be
return !maybe_resource->isWaitingForServer() && resource.version() == maybe_resource->version();
// In theory we should move the ambiguous resource to wildcard, because probably we shouldn't be
// So, leave the version map entry present but blank if we are still interested in the resource.
ENVOY_LOG(debug, "Delta config for {} accepted with {} resources added, {} removed", typeUrl(),
// something in the past. We could still be in the situation now that all we are subscribed to now
// If our subscription interest didn't change then the first condition for using legacy wildcard