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 Nov 5, 2024
1 parent 32a77b3 commit a27cf50
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 a27cf50

Please sign in to comment.