{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/6040","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6040/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6040/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6040/events","html_url":"https://github.com/bazelbuild/bazel/pull/6040","id":355692906,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMTYyOTEz","number":6040,"title":"[Remote] Do not allow concurrent uploads of the same digest","user":{"login":"jgavris","id":178749,"node_id":"MDQ6VXNlcjE3ODc0OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/178749?v=4","gravatar_id":"","url":"https://api.github.com/users/jgavris","html_url":"https://github.com/jgavris","followers_url":"https://api.github.com/users/jgavris/followers","following_url":"https://api.github.com/users/jgavris/following{/other_user}","gists_url":"https://api.github.com/users/jgavris/gists{/gist_id}","starred_url":"https://api.github.com/users/jgavris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgavris/subscriptions","organizations_url":"https://api.github.com/users/jgavris/orgs","repos_url":"https://api.github.com/users/jgavris/repos","events_url":"https://api.github.com/users/jgavris/events{/privacy}","received_events_url":"https://api.github.com/users/jgavris/received_events","type":"User","site_admin":false},"labels":[{"id":323761238,"node_id":"MDU6TGFiZWwzMjM3NjEyMzg=","url":"https://api.github.com/repos/bazelbuild/bazel/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false},{"id":1020661294,"node_id":"MDU6TGFiZWwxMDIwNjYxMjk0","url":"https://api.github.com/repos/bazelbuild/bazel/labels/team-Execution","name":"team-Execution","color":"f1f442","default":false}],"state":"closed","locked":false,"assignee":{"login":"buchgr","id":1388179,"node_id":"MDQ6VXNlcjEzODgxNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1388179?v=4","gravatar_id":"","url":"https://api.github.com/users/buchgr","html_url":"https://github.com/buchgr","followers_url":"https://api.github.com/users/buchgr/followers","following_url":"https://api.github.com/users/buchgr/following{/other_user}","gists_url":"https://api.github.com/users/buchgr/gists{/gist_id}","starred_url":"https://api.github.com/users/buchgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buchgr/subscriptions","organizations_url":"https://api.github.com/users/buchgr/orgs","repos_url":"https://api.github.com/users/buchgr/repos","events_url":"https://api.github.com/users/buchgr/events{/privacy}","received_events_url":"https://api.github.com/users/buchgr/received_events","type":"User","site_admin":false},"assignees":[{"login":"buchgr","id":1388179,"node_id":"MDQ6VXNlcjEzODgxNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1388179?v=4","gravatar_id":"","url":"https://api.github.com/users/buchgr","html_url":"https://github.com/buchgr","followers_url":"https://api.github.com/users/buchgr/followers","following_url":"https://api.github.com/users/buchgr/following{/other_user}","gists_url":"https://api.github.com/users/buchgr/gists{/gist_id}","starred_url":"https://api.github.com/users/buchgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buchgr/subscriptions","organizations_url":"https://api.github.com/users/buchgr/orgs","repos_url":"https://api.github.com/users/buchgr/repos","events_url":"https://api.github.com/users/buchgr/events{/privacy}","received_events_url":"https://api.github.com/users/buchgr/received_events","type":"User","site_admin":false},{"login":"ola-rozenfeld","id":25823928,"node_id":"MDQ6VXNlcjI1ODIzOTI4","avatar_url":"https://avatars1.githubusercontent.com/u/25823928?v=4","gravatar_id":"","url":"https://api.github.com/users/ola-rozenfeld","html_url":"https://github.com/ola-rozenfeld","followers_url":"https://api.github.com/users/ola-rozenfeld/followers","following_url":"https://api.github.com/users/ola-rozenfeld/following{/other_user}","gists_url":"https://api.github.com/users/ola-rozenfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/ola-rozenfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ola-rozenfeld/subscriptions","organizations_url":"https://api.github.com/users/ola-rozenfeld/orgs","repos_url":"https://api.github.com/users/ola-rozenfeld/repos","events_url":"https://api.github.com/users/ola-rozenfeld/events{/privacy}","received_events_url":"https://api.github.com/users/ola-rozenfeld/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-08-30T18:00:04Z","updated_at":"2018-09-03T21:01:25Z","closed_at":"2018-09-03T09:42:33Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/bazelbuild/bazel/pulls/6040","html_url":"https://github.com/bazelbuild/bazel/pull/6040","diff_url":"https://github.com/bazelbuild/bazel/pull/6040.diff","patch_url":"https://github.com/bazelbuild/bazel/pull/6040.patch"},"body":"Resolves https://github.com/bazelbuild/bazel/issues/4664\r\n\r\nThis issue is reproducible locally without another user concurrently building and pushing to the remote cache. We have a medium-large C++ project with many targets with shared dependencies. With this patch, I no longer see\r\n\r\n```\r\nWARNING: Error writing to the remote cache:\r\n429 Too Many Requests\r\n<?xml version='1.0' encoding='UTF-8'?><Error><Code>SlowDown</Code><Message>Please reduce your request rate.</Message><Details>Changing object butterfly-software-bazel-cache/cas/fc503dd74d0add4a88a492388ee56f46e71ecd117dbac8177c0846d2d44f5221 too quickly, please slow down</Details></Error>\r\n```\r\n\r\nAnd as a result, a `build` -> `clean --expunge` -> `build` now gets 100% cache hits and prints no warnings.\r\n\r\nSince this warning is concerned with changing an object too often, we could save some memory by limiting the size of the set and evicting the oldest entries."},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/418192391","html_url":"https://github.com/bazelbuild/bazel/pull/6040#issuecomment-418192391","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6040","id":418192391,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE5MjM5MQ==","user":{"login":"petemounce","id":69720,"node_id":"MDQ6VXNlcjY5NzIw","avatar_url":"https://avatars2.githubusercontent.com/u/69720?v=4","gravatar_id":"","url":"https://api.github.com/users/petemounce","html_url":"https://github.com/petemounce","followers_url":"https://api.github.com/users/petemounce/followers","following_url":"https://api.github.com/users/petemounce/following{/other_user}","gists_url":"https://api.github.com/users/petemounce/gists{/gist_id}","starred_url":"https://api.github.com/users/petemounce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemounce/subscriptions","organizations_url":"https://api.github.com/users/petemounce/orgs","repos_url":"https://api.github.com/users/petemounce/repos","events_url":"https://api.github.com/users/petemounce/events{/privacy}","received_events_url":"https://api.github.com/users/petemounce/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T21:01:25Z","updated_at":"2018-09-03T21:01:25Z","author_association":"CONTRIBUTOR","body":"Thanks!"}}
{"actor":{"display_login":"petemounce"}}