{"action":"created","issue":{"url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/99","labels_url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/99/comments","events_url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/99/events","html_url":"https://github.com/fluent/fluent-plugin-s3/pull/99","id":105516123,"number":99,"title":"Add overwrite option to overwrite even if path is duplicated","user":{"login":"sonots","id":2290461,"avatar_url":"https://avatars.githubusercontent.com/u/2290461?v=3","gravatar_id":"","url":"https://api.github.com/users/sonots","html_url":"https://github.com/sonots","followers_url":"https://api.github.com/users/sonots/followers","following_url":"https://api.github.com/users/sonots/following{/other_user}","gists_url":"https://api.github.com/users/sonots/gists{/gist_id}","starred_url":"https://api.github.com/users/sonots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonots/subscriptions","organizations_url":"https://api.github.com/users/sonots/orgs","repos_url":"https://api.github.com/users/sonots/repos","events_url":"https://api.github.com/users/sonots/events{/privacy}","received_events_url":"https://api.github.com/users/sonots/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-09T04:25:55Z","updated_at":"2015-10-01T08:05:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fluent/fluent-plugin-s3/pulls/99","html_url":"https://github.com/fluent/fluent-plugin-s3/pull/99","diff_url":"https://github.com/fluent/fluent-plugin-s3/pull/99.diff","patch_url":"https://github.com/fluent/fluent-plugin-s3/pull/99.patch"},"body":"My supposed use case: \r\n\r\nThis should be useful to use together with `%{uuid_chunk}` placeholder.\r\n`%{uuid_chunk}` placeholder assures that the path is unique for a chunk,\r\nhence, a path duplication error occurrence means that a mistaken retry\r\nhappened. In such case, we probably can simply remove the old file by\r\noverwriting with the new file to fix the state. \r\n\r\nit is difficult to write tests with mock (we can, but it will tell us nothing)\r\n\r\nFYI: PR for `%{uuid_chunk}` is https://github.com/fluent/fluent-plugin-s3/pull/98"},"comment":{"url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/comments/144650627","html_url":"https://github.com/fluent/fluent-plugin-s3/pull/99#issuecomment-144650627","issue_url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/99","id":144650627,"user":{"login":"sonots","id":2290461,"avatar_url":"https://avatars.githubusercontent.com/u/2290461?v=3","gravatar_id":"","url":"https://api.github.com/users/sonots","html_url":"https://github.com/sonots","followers_url":"https://api.github.com/users/sonots/followers","following_url":"https://api.github.com/users/sonots/following{/other_user}","gists_url":"https://api.github.com/users/sonots/gists{/gist_id}","starred_url":"https://api.github.com/users/sonots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonots/subscriptions","organizations_url":"https://api.github.com/users/sonots/orgs","repos_url":"https://api.github.com/users/sonots/repos","events_url":"https://api.github.com/users/sonots/events{/privacy}","received_events_url":"https://api.github.com/users/sonots/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T08:05:46Z","updated_at":"2015-10-01T08:05:46Z","body":"@repeatedly @ijin ping"}}