{"action":"created","issue":{"url":"https://api.github.com/repos/steemit/steem/issues/2313","repository_url":"https://api.github.com/repos/steemit/steem","labels_url":"https://api.github.com/repos/steemit/steem/issues/2313/labels{/name}","comments_url":"https://api.github.com/repos/steemit/steem/issues/2313/comments","events_url":"https://api.github.com/repos/steemit/steem/issues/2313/events","html_url":"https://github.com/steemit/steem/pull/2313","id":311765878,"number":2313,"title":"piped lz4 and retries","user":{"login":"jredbeard","id":23157604,"avatar_url":"https://avatars0.githubusercontent.com/u/23157604?v=4","gravatar_id":"","url":"https://api.github.com/users/jredbeard","html_url":"https://github.com/jredbeard","followers_url":"https://api.github.com/users/jredbeard/followers","following_url":"https://api.github.com/users/jredbeard/following{/other_user}","gists_url":"https://api.github.com/users/jredbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/jredbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredbeard/subscriptions","organizations_url":"https://api.github.com/users/jredbeard/orgs","repos_url":"https://api.github.com/users/jredbeard/repos","events_url":"https://api.github.com/users/jredbeard/events{/privacy}","received_events_url":"https://api.github.com/users/jredbeard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-05T20:55:38Z","updated_at":"2018-04-05T23:12:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/steemit/steem/pulls/2313","html_url":"https://github.com/steemit/steem/pull/2313","diff_url":"https://github.com/steemit/steem/pull/2313.diff","patch_url":"https://github.com/steemit/steem/pull/2313.patch"},"body":"This is a better way to handle this - the decompression doesn't take longer than the file transfer so it's not blocking, and it will retry on failure up to five times."},"comment":{"url":"https://api.github.com/repos/steemit/steem/issues/comments/379103475","html_url":"https://github.com/steemit/steem/pull/2313#issuecomment-379103475","issue_url":"https://api.github.com/repos/steemit/steem/issues/2313","id":379103475,"user":{"login":"mvandeberg","id":15834128,"avatar_url":"https://avatars0.githubusercontent.com/u/15834128?v=4","gravatar_id":"","url":"https://api.github.com/users/mvandeberg","html_url":"https://github.com/mvandeberg","followers_url":"https://api.github.com/users/mvandeberg/followers","following_url":"https://api.github.com/users/mvandeberg/following{/other_user}","gists_url":"https://api.github.com/users/mvandeberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mvandeberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvandeberg/subscriptions","organizations_url":"https://api.github.com/users/mvandeberg/orgs","repos_url":"https://api.github.com/users/mvandeberg/repos","events_url":"https://api.github.com/users/mvandeberg/events{/privacy}","received_events_url":"https://api.github.com/users/mvandeberg/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T23:12:06Z","updated_at":"2018-04-05T23:12:06Z","author_association":"CONTRIBUTOR","body":"When the file does exist, `aws s3` prints a nice message.\r\n\r\n```\r\naws s3 cp s3://steemit-dev-blockchainstate/foobar ./foobar\r\nfatal error: An error occurred (404) when calling the HeadObject operation: Key \"foobar\" does not exist\r\n```\r\n\r\nBut it still has a return code, 1.\r\n\r\nWhat we can do is sed the stdout/err for this message and return a custom defined error code on no-match.\r\n\r\nThen we can differentiate between the state file failing to download vs not existing."}}
{"actor":{"display_login":"mvandeberg"}}