This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to not upload artifacts when fetch result is cache error
Summary: This change intends to make ARL better working with BuckCache. Currently ARL returns a 503 error to client, where the client considers this as a [cache error](https://www.internalfb.com/code/fbsource/[a2628e6000497e1478a622d2d1ee3a6b0ca7c362]/xplat/build_infra/buck_client/src/com/facebook/buck/artifact_cache/ThriftArtifactCache.java?lines=480). When cache error happens (which indicates the servers are overloaded), we don't want to create more upload traffic to overwhelm more servers. To see a general metrics about cache errors happening nowadays in production: https://fburl.com/scuba/buck_builds/5ax2wm71 Reviewed By: lebentle fbshipit-source-id: 597216f2b17ec98eb71035d2afff2fa6f1bbf1cc
- Loading branch information
1 parent
4949fbf
commit 4d3809b
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters