Skip to content

Commit

Permalink
FindMissing/CAS proxy: send all digests to remote when local is skipp…
Browse files Browse the repository at this point in the history
…ed. (#7852)
  • Loading branch information
jdhollen authored and vadimberezniker committed Nov 6, 2024
1 parent 52fe84e commit a29c456
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ func (s *CASServerProxy) FindMissingBlobs(ctx context.Context, req *repb.FindMis
// that were found locally.
s.atimeUpdater.EnqueueByFindMissingRequest(ctx, req)

resp := &repb.FindMissingBlobsResponse{}
resp := &repb.FindMissingBlobsResponse{
MissingBlobDigests: req.BlobDigests,
}
remoteOnly := authutil.EncryptionEnabled(ctx, s.authenticator)
if !remoteOnly {
localResp, err := s.local.FindMissingBlobs(ctx, req)
Expand Down

0 comments on commit a29c456

Please sign in to comment.