{"action":"created","issue":{"url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/2","repository_url":"https://api.github.com/repos/openafs-contrib/cellcc","labels_url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/2/comments","events_url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/2/events","html_url":"https://github.com/openafs-contrib/cellcc/pull/2","id":154123745,"number":2,"title":"Redesign checksum-related timeouts and reports","user":{"login":"marciobarbosa","id":1806297,"avatar_url":"https://avatars.githubusercontent.com/u/1806297?v=3","gravatar_id":"","url":"https://api.github.com/users/marciobarbosa","html_url":"https://github.com/marciobarbosa","followers_url":"https://api.github.com/users/marciobarbosa/followers","following_url":"https://api.github.com/users/marciobarbosa/following{/other_user}","gists_url":"https://api.github.com/users/marciobarbosa/gists{/gist_id}","starred_url":"https://api.github.com/users/marciobarbosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marciobarbosa/subscriptions","organizations_url":"https://api.github.com/users/marciobarbosa/orgs","repos_url":"https://api.github.com/users/marciobarbosa/repos","events_url":"https://api.github.com/users/marciobarbosa/events{/privacy}","received_events_url":"https://api.github.com/users/marciobarbosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T22:47:25Z","updated_at":"2016-05-11T12:52:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openafs-contrib/cellcc/pulls/2","html_url":"https://github.com/openafs-contrib/cellcc/pull/2","diff_url":"https://github.com/openafs-contrib/cellcc/pull/2.diff","patch_url":"https://github.com/openafs-contrib/cellcc/pull/2.patch"},"body":"Currently we have a timeout of 1800 seconds (30 minutes) to\r\ncalculate the checksum of a volume dump. On average, this timeout\r\nshould be enough in most of the cases. However, a single timeout\r\nfor the entire file is not the best approach for a couple of reasons.\r\nFirst of all, the user does not get any report about the current\r\nprogress of this state. As a result, he has no idea if CellCC is stuck\r\nor making some progress. Secondly, this timeout might still not be\r\nenough for the whole file.\r\n\r\nIn order to fix the problems reported above, a new function was\r\ndesigned to calculate the checksum of the whole dump file. This\r\nfunction breaks the file into smaller chunks, computes the checksum\r\nof these smaller pieces, and add them all in separated steps. Also,\r\nthis function reports the progress of this state minute by minute.\r\nLast, but not least, the timeout of the state in question is updated\r\nevery single minute."},"comment":{"url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/comments/218449786","html_url":"https://github.com/openafs-contrib/cellcc/pull/2#issuecomment-218449786","issue_url":"https://api.github.com/repos/openafs-contrib/cellcc/issues/2","id":218449786,"user":{"login":"marciobarbosa","id":1806297,"avatar_url":"https://avatars.githubusercontent.com/u/1806297?v=3","gravatar_id":"","url":"https://api.github.com/users/marciobarbosa","html_url":"https://github.com/marciobarbosa","followers_url":"https://api.github.com/users/marciobarbosa/followers","following_url":"https://api.github.com/users/marciobarbosa/following{/other_user}","gists_url":"https://api.github.com/users/marciobarbosa/gists{/gist_id}","starred_url":"https://api.github.com/users/marciobarbosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marciobarbosa/subscriptions","organizations_url":"https://api.github.com/users/marciobarbosa/orgs","repos_url":"https://api.github.com/users/marciobarbosa/repos","events_url":"https://api.github.com/users/marciobarbosa/events{/privacy}","received_events_url":"https://api.github.com/users/marciobarbosa/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T12:52:12Z","updated_at":"2016-05-11T12:52:12Z","body":"Okay, I changed the original branch and ran 'git push -f'. But I am not sure if GitHub handles something like that gracefully. Can you see the new patchset?"}}