{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3363","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3363/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3363/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3363/events","html_url":"https://github.com/coreos/etcd/issues/3363","id":102819604,"number":3363,"title":"Too much data is returned on a successful CompareAndSwap","user":{"login":"fraenkel","id":929377,"avatar_url":"https://avatars.githubusercontent.com/u/929377?v=3","gravatar_id":"","url":"https://api.github.com/users/fraenkel","html_url":"https://github.com/fraenkel","followers_url":"https://api.github.com/users/fraenkel/followers","following_url":"https://api.github.com/users/fraenkel/following{/other_user}","gists_url":"https://api.github.com/users/fraenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/fraenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraenkel/subscriptions","organizations_url":"https://api.github.com/users/fraenkel/orgs","repos_url":"https://api.github.com/users/fraenkel/repos","events_url":"https://api.github.com/users/fraenkel/events{/privacy}","received_events_url":"https://api.github.com/users/fraenkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-24T15:26:48Z","updated_at":"2015-08-25T23:00:05Z","closed_at":null,"body":"We noticed that when you successfully compare and swap, we receive both the previous and current node information. This is overkill in most situations since I knew what I cared about from the previous and I provided the data for the new node. What is most useful is the new modification index.\r\n\r\nWould it be possible to add a new flag to just fill out the new modification index and not provide the previous node information nor the current node's data?\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/134765286","html_url":"https://github.com/coreos/etcd/issues/3363#issuecomment-134765286","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3363","id":134765286,"user":{"login":"fraenkel","id":929377,"avatar_url":"https://avatars.githubusercontent.com/u/929377?v=3","gravatar_id":"","url":"https://api.github.com/users/fraenkel","html_url":"https://github.com/fraenkel","followers_url":"https://api.github.com/users/fraenkel/followers","following_url":"https://api.github.com/users/fraenkel/following{/other_user}","gists_url":"https://api.github.com/users/fraenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/fraenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraenkel/subscriptions","organizations_url":"https://api.github.com/users/fraenkel/orgs","repos_url":"https://api.github.com/users/fraenkel/repos","events_url":"https://api.github.com/users/fraenkel/events{/privacy}","received_events_url":"https://api.github.com/users/fraenkel/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T23:00:05Z","updated_at":"2015-08-25T23:00:05Z","body":"I am in the process of doing the performance testing to see the cost of the extra data.\r\n\r\nI have been struggling to generate new protobufs and run a build. It seems I can do one or the other but not both on OSX.\r\nIf I run genproto one too many times, I get \r\n`cp: /Users/fraenkel/workspace/etcd/gopath/src/github.com/coreos/etcd/./wal/walpb/record.proto and record.proto are identical (not copied).`\r\n\r\nI also noticed that genproto installs many of the protobuf tool but the build tries to use it from Godeps. \r\ngenproto assumes gopath is not a symlink and build assumes its a symlink. But neither do proper cleanup or recovery.\r\n\r\nJust trying to figure out how to generate and build.\r\n"}}