{"action":"created","issue":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/1847","repository_url":"https://api.github.com/repos/flux-framework/flux-core","labels_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1847/labels{/name}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1847/comments","events_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1847/events","html_url":"https://github.com/flux-framework/flux-core/issues/1847","id":382431638,"node_id":"MDU6SXNzdWUzODI0MzE2Mzg=","number":1847,"title":"kvs-watch: Add flag to only respond to changes to a key","user":{"login":"chu11","id":274859,"node_id":"MDQ6VXNlcjI3NDg1OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/274859?v=4","gravatar_id":"","url":"https://api.github.com/users/chu11","html_url":"https://github.com/chu11","followers_url":"https://api.github.com/users/chu11/followers","following_url":"https://api.github.com/users/chu11/following{/other_user}","gists_url":"https://api.github.com/users/chu11/gists{/gist_id}","starred_url":"https://api.github.com/users/chu11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chu11/subscriptions","organizations_url":"https://api.github.com/users/chu11/orgs","repos_url":"https://api.github.com/users/chu11/repos","events_url":"https://api.github.com/users/chu11/events{/privacy}","received_events_url":"https://api.github.com/users/chu11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-19T23:12:28Z","updated_at":"2018-11-20T17:53:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"While working on #1653, I realized that the new kvs-watch responds whenever a key has been written to.  This includes when the key has the same value written to it.  For example:\r\n\r\n```\r\nflux kvs put a=1\r\nflux kvs put a=1\r\nflux kvs put a=1\r\nflux kvs put a=1\r\n```\r\n\r\nWould respond with 4 results to a watcher.  In a number of circumstances, I doubt this is what is desired.\r\n\r\nOnce #1653 is completed, it would be trivial to add a flag to say \"only respond if the key value has changed\","},"comment":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/comments/440370408","html_url":"https://github.com/flux-framework/flux-core/issues/1847#issuecomment-440370408","issue_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1847","id":440370408,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDM3MDQwOA==","user":{"login":"grondo","id":741970,"node_id":"MDQ6VXNlcjc0MTk3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/741970?v=4","gravatar_id":"","url":"https://api.github.com/users/grondo","html_url":"https://github.com/grondo","followers_url":"https://api.github.com/users/grondo/followers","following_url":"https://api.github.com/users/grondo/following{/other_user}","gists_url":"https://api.github.com/users/grondo/gists{/gist_id}","starred_url":"https://api.github.com/users/grondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grondo/subscriptions","organizations_url":"https://api.github.com/users/grondo/orgs","repos_url":"https://api.github.com/users/grondo/repos","events_url":"https://api.github.com/users/grondo/events{/privacy}","received_events_url":"https://api.github.com/users/grondo/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T17:53:19Z","updated_at":"2018-11-20T17:53:19Z","author_association":"CONTRIBUTOR","body":"Yeah, I don't know the right answer, but just wanted to bring it up."}}
{"actor":{"display_login":"grondo"}}