{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/8495","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/8495/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/8495/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/8495/events","html_url":"https://github.com/coreos/etcd/issues/8495","id":255236547,"number":8495,"title":"Question about progressNotify","user":{"login":"styleex","id":2076945,"avatar_url":"https://avatars1.githubusercontent.com/u/2076945?v=4","gravatar_id":"","url":"https://api.github.com/users/styleex","html_url":"https://github.com/styleex","followers_url":"https://api.github.com/users/styleex/followers","following_url":"https://api.github.com/users/styleex/following{/other_user}","gists_url":"https://api.github.com/users/styleex/gists{/gist_id}","starred_url":"https://api.github.com/users/styleex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styleex/subscriptions","organizations_url":"https://api.github.com/users/styleex/orgs","repos_url":"https://api.github.com/users/styleex/repos","events_url":"https://api.github.com/users/styleex/events{/privacy}","received_events_url":"https://api.github.com/users/styleex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-05T10:50:43Z","updated_at":"2017-09-05T17:27:41Z","closed_at":null,"author_association":"NONE","body":"I do not understand how this option works, why and how to use it.\r\nThe documentation for the etcd says the following (https://coreos.com/etcd/docs/latest/dev-guide/api_reference_v3.html):\r\n```\r\nThe etcd server can decide how often it will send notifications based on current load.\r\n```\r\nIn the documentation for clientv3 (https://godoc.org/github.com/coreos/etcd/clientv3#WithProgressNotify) :\r\n```\r\nWithProgressNotify makes watch server send periodic progress updates every 10 minutes when there is no incoming events\r\n```\r\n\r\nWhom to believe. Exactly 10 minutes?\r\n\r\nFurther. From the link (https://github.com/coreos/etcd/issues/5985) it can be seen that it is designed for application-level heatbeat.\r\nIs this the only application of this option?\r\nIs there an example of code or pseudocode as it should be used?\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/327247238","html_url":"https://github.com/coreos/etcd/issues/8495#issuecomment-327247238","issue_url":"https://api.github.com/repos/coreos/etcd/issues/8495","id":327247238,"user":{"login":"styleex","id":2076945,"avatar_url":"https://avatars1.githubusercontent.com/u/2076945?v=4","gravatar_id":"","url":"https://api.github.com/users/styleex","html_url":"https://github.com/styleex","followers_url":"https://api.github.com/users/styleex/followers","following_url":"https://api.github.com/users/styleex/following{/other_user}","gists_url":"https://api.github.com/users/styleex/gists{/gist_id}","starred_url":"https://api.github.com/users/styleex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styleex/subscriptions","organizations_url":"https://api.github.com/users/styleex/orgs","repos_url":"https://api.github.com/users/styleex/repos","events_url":"https://api.github.com/users/styleex/events{/privacy}","received_events_url":"https://api.github.com/users/styleex/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T17:27:41Z","updated_at":"2017-09-05T17:27:41Z","author_association":"NONE","body":"@heyitsanthony \r\nGood. It is already becoming more clear.\r\nBut, in this case, why `progress_notify` the message? After all, then a message will come with `compaction_revision> 0`? And I will just restore my watcher.\r\n\r\nOr in the case described by you there will not be a message with `compaction_revision> 0`?"}}
{"actor":{"display_login":"styleex"}}