Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
KSmigielski committed Jan 17, 2025
1 parent bd9569d commit 20849f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public DeltaWatch createDeltaWatch(
request.getTypeUrl());
T group;
group = groups.hash(request.v3Request().getNode());

request.v3Request().getNode().getId()
// even though we're modifying, we take a readLock to allow multiple watches to be created in parallel since it
// doesn't conflict
readLock.lock();
Expand All @@ -213,7 +213,7 @@ public DeltaWatch createDeltaWatch(
openWatch(status, watch, request.getTypeUrl(), watch.trackedResources().keySet(), group, requesterVersion);
return watch;
}
LOGGER.info("KSKSKS: version {}, requeterVersion {}", version, requesterVersion);
LOGGER.info("KSKSKS: version {}, requeterVersion {}, id {}, cluster {}", version, requesterVersion, request.v3Request().getNode().getId(), request.v3Request().getNode().getCluster());
// If the requested version is up-to-date or missing a response, leave an open watch.
if (version.equals(requesterVersion)) {
// If the request is not wildcard, we have pending resources and we have them, we should respond immediately.
Expand Down

0 comments on commit 20849f6

Please sign in to comment.