Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make remote cache warning less chatty for missing files (Cherry-pick of #11976) #11983

Merged
merged 1 commit into from Apr 29, 2021

Conversation

Eric-Arellano
Copy link
Contributor

No description provided.

…1976)

Because the warning had the file digest in it, our aggregation logic did not work.

```
23:47:12.14 [WARN] Failed to read from remote cache (1 occurrences so far): File Digest { hash: Fingerprint<b6862795da00928c83c322abeff8c886086cb8b98c6c250cf56b101c74eb1e1d>, size_bytes: 2030 } did not exist in the store.
23:47:12.14 [WARN] Failed to read from remote cache (1 occurrences so far): File Digest { hash: Fingerprint<8ad86e89dc8138c1d05809502f968b5d017926cb5800baf8f89712950a503d57>, size_bytes: 514 } did not exist in the store.
23:47:12.15 [WARN] Failed to read from remote cache (1 occurrences so far): File Digest { hash: Fingerprint<e49415411d5ee6ac497555b98475851675e80d53e3397685ed743f2bc4cdd629>, size_bytes: 481 } did not exist in the store.
```

However, it does seem useful to know specifically which file was missing, so we log that at the debug level.

[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit 6225da4 into pantsbuild:2.4.x Apr 29, 2021
@Eric-Arellano Eric-Arellano deleted the cp-remote-log branch April 29, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants