GitHub PullRequestReviewCommentEvent at 2014-07-09 22:19:13
Repository: riak_ensemble
Actor: andrewjstone
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/basho/riak_ensemble/pulls/comments/14739948","id":14739948,"diff_hunk":"@@ -1461,12 +1574,58 @@ put_obj(Key, Obj, Seq, State=#state{id=Id, members=Members, self=Self}) ->\n         Local ->\n             case wait_for_quorum(Future) of\n                 {quorum_met, _Replies} ->\n-                    {ok, Local, State2};\n+                    ObjHash = get_obj_hash(Key, Local, State2),\n+                    case update_hash(Key, ObjHash, State2) of\n+                        {ok, State3} ->\n+                            %% TODO: Need to implement synchronous update_hash\n+                            %%       for high paranoia/byzantine tolerance.\n+                            cast_all({update_hash, Key, ObjHash}, State3),\n+                            {ok, Local, State3};\n+                        {corrupted, State3} ->\n+                            {corrupted, State3}\n+                    end;\n                 {timeout, _Replies} ->\n                     {failed, State2}\n             end\n     end.\n \n+get_obj_hash(_Key, Obj, State) ->\n+    %% <<ObjHash:128/integer>> = crypto:hash(md5, term_to_binary(Obj)),\n+    ObjEpoch = get_obj(epoch, Obj, State),\n+    ObjSeq = get_obj(seq, Obj, State),\n+    <<ObjEpoch:64/integer, ObjSeq:64/integer>>.\n+\n+update_hash(Key, ObjHash, State=#state{tree=Tree}) ->\n+    case riak_ensemble_peer_tree:insert(Key, ObjHash, Tree) of\n+        corrupted ->\n+            %% io:format(\"Tree corrupted (update_hash)!~n\"),\n+            {corrupted, State};\n+        ok ->\n+            {ok, State}\n+    end.\n+\n+verify_hash(Key, notfound, ObjSeq, _State) ->\n+    case ObjSeq of\n+        notfound ->\n+            true;\n+        _ ->\n+            lager:warning(\"~p detected as corrupted\", [Key]),\n+            false\n+    end;\n+verify_hash(Key, Obj, ObjSeq, State) ->\n+    ObjHash = get_obj_hash(Key, Obj, State),\n+    case ObjSeq of\n+        notfound ->","path":"src/riak_ensemble_peer.erl","position":713,"original_position":713,"commit_id":"9938af23d2066eedfcf7454caa88b8fe2199d46c","original_commit_id":"9938af23d2066eedfcf7454caa88b8fe2199d46c","user":{"login":"andrewjstone","id":466937,"avatar_url":"https://avatars.githubusercontent.com/u/466937?","gravatar_id":"3bbd286eab4e49e35756b4bdd52e2b0a","url":"https://api.github.com/users/andrewjstone","html_url":"https://github.com/andrewjstone","followers_url":"https://api.github.com/users/andrewjstone/followers","following_url":"https://api.github.com/users/andrewjstone/following{/other_user}","gists_url":"https://api.github.com/users/andrewjstone/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjstone/subscriptions","organizations_url":"https://api.github.com/users/andrewjstone/orgs","repos_url":"https://api.github.com/users/andrewjstone/repos","events_url":"https://api.github.com/users/andrewjstone/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjstone/received_events","type":"User","site_admin":false},"body":"Nitpick: pattern matching not_found in the function will prevent having to build the ObjHash when not needed.","created_at":"2014-07-09T22:19:13Z","updated_at":"2014-07-09T22:19:13Z","html_url":"https://github.com/basho/riak_ensemble/pull/37#discussion_r14739948","pull_request_url":"https://api.github.com/repos/basho/riak_ensemble/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/comments/14739948"},"html":{"href":"https://github.com/basho/riak_ensemble/pull/37#discussion_r14739948"},"pull_request":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/basho/riak_ensemble/pulls/37","id":17934006,"html_url":"https://github.com/basho/riak_ensemble/pull/37","diff_url":"https://github.com/basho/riak_ensemble/pull/37.diff","patch_url":"https://github.com/basho/riak_ensemble/pull/37.patch","issue_url":"https://api.github.com/repos/basho/riak_ensemble/issues/37","number":37,"state":"open","title":"New integrated integrity checking for previously committed data","user":{"login":"jtuple","id":618624,"avatar_url":"https://avatars.githubusercontent.com/u/618624?","gravatar_id":"5f1086a52e504fa025e138c6924903e1","url":"https://api.github.com/users/jtuple","html_url":"https://github.com/jtuple","followers_url":"https://api.github.com/users/jtuple/followers","following_url":"https://api.github.com/users/jtuple/following{/other_user}","gists_url":"https://api.github.com/users/jtuple/gists{/gist_id}","starred_url":"https://api.github.com/users/jtuple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtuple/subscriptions","organizations_url":"https://api.github.com/users/jtuple/orgs","repos_url":"https://api.github.com/users/jtuple/repos","events_url":"https://api.github.com/users/jtuple/events{/privacy}","received_events_url":"https://api.github.com/users/jtuple/received_events","type":"User","site_admin":false},"body":"(***Note:*** This is a preliminary pull-request to enable code review while I perform minor code cleanup as well as make 2-3 additional changes/commits)\r\n\r\nThis pull-request completely changes how `riak_ensemble` guarantees the integrity of committed backend data, even in the presence of byzantine faults. Prior to this pull-request, the approach used was to assume byzantine faults could only occur when a peer restarts and to use backend-specific syncing/verification logic to ensure data integrity and vouch for a given peer. This approach is discussed at length in basho/riak_kv#909 (along with the related paranoia setting pull-request and linked gist).\r\n\r\nThis approach has two main problems. First, it assumes data loss can only occur between peer restarts -- which is fundamentally unsound. Second, it pushes all data integrity guarantees to the backend implementation and assumes the backend correctly guarantees data integrity. This is a risky assumption.\r\n\r\nFor example, for Riak the`riak_kv_ensemble_backend` relies upon traditional AAE syncing to ensure data integrity. However, this is fundamentally unsound since the AAE trees are best effort and are not designed to be canonical sources of truth. Additionally, the AAE trees impose a significant operational burden on the user. Specifically, Riak K/V ensembles will be completely unavailable (eg. fail user requests) if AAE is disabled or if AAE trees are in the process of being built (which can take hours to days depending on data set size) when a majority of peers restarts. Thus, this approach burdens the user, leads to potentially long periods of unavailability, yet doesn't provide strong integrity guarantees.\r\n\r\nIn the end, the hash trees used for AAE are the wrong tool for guaranteeing data integrity. For traditional AP/Riak, the backend itself is the canonical source of truth. The AAE trees are simply best-effort projections of this truth, and are rebuilt weekly by scanning over the backend data directly.\r\n\r\nFor `riak_ensemble`, we need a metadata source with stronger guarantees -- where the metadata is always trusted, and where the backend is considered wrong (corrupted, lying, etc) if it ever differs from this trusted metadata.\r\n\r\nThis pull-request integrates backend integrity checking directly into `riak_ensemble` itself, removing the notion of backend trust / syncing. Instead, individual `riak_ensemble` peers now maintain an integrated self-validating hash tree (known as `synctree` in the code). The hash for a given node in the tree is stored in the node's parent, allowing all traversals through the tree to verify the integrity of the entire path -- from the root node down to the destination node. This is similar in spirit to the design used in the ZFS filesystem. (See [this](http://research.cs.wisc.edu/adsl/Publications/zfs-corruption-fast10.pdf) research paper for a high level discussion of the ZFS design as well as how it holds up to various evaluated dataloss/corruption scenarios).\r\n\r\nThe `synctree` is maintained on each peer in an ensemble and is always kept up-to-date. As new data is written, the `synctree` hash is updated on the leader after seeing a quorum accept the write. This hash tree update is then replicated to followers. (Note: this replication is currently asynchronous. We should make synchronous a configurable option for highest level of paranoia/data integrity).\r\n\r\nFor all K/V operations, data returned from the backend is verified against the metadata stored in the hash tree. If the backend has incorrect data, the peer will detect the issue and attempt to repair the value from sibling peers.\r\n\r\nAs with the `hashtree` module from `riak_core`, which is used for AAE, the `synctree` module is designed to perform a tree exchange with remotes replicas to detect and repair any missing data -- in this case, object integrity metadata.\r\n\r\nAt startup, all peers are considered untrusted and are required to perform a tree exchange with a majority of trusted peers (or *all* peers if a trusted majority is unavailable). This requires more than a simple majority of online/reachable nodes. After performing this exchange, a given peer's tree is assumed to remain trusted. We make this assumption because in addition to the on-disk tree itself, we also maintain a copy of the top hash of the tree in memory. The assumption is that any combination of on-disk or in-memory corruption that occurs will not result in corrupted hashes that pass the tree verification check.\r\n\r\nAll operations on the tree (reads, writes, and exchange-related reads) verify all encountered tree paths. Thus, corruption in the tree itself will be detected. If detected, the tree discards the corrupted data, becomes untrusted, and must once again perform an exchange with a majority of trusted peers. This design therefore ensures the integrity of the object metadata at all times, enabling a peer to always be able to correctly detect an invalid object (or unexpected notfound) from the backend.\r\n\r\nThe specific data loss / byzantine faults this pull-request is designed to handle include both undetected data loss as well as data unexpectedly traveling back in time.\r\n\r\nAn example of undetected data loss would be a backend that lies about writing an object + CRC to disk. Thus, in the future the backend could return a notfound without firing any integrity check (since the CRC itself is also is missing). The same situation can occur in cases where a given backend does detect data corruption that is \"repaired\" by deleting corrupted keys (eg. LevelDB repair does this, as does Postgres's repair logic, and many, many others) without the higher level application (`riak_ensemble` in this case) realizing those keys were deleted.\r\n\r\nAn example of data going back in time would be a user restoring K/V data (eg. LevelDB or Bitcask data) from a backup without also restoring the `riak_ensemble` data from the same backup. Thus, as far as `riak_ensemble` is concerned the peer is at epoch Y (with the assumption data is also at epoch Y), but in reality the data is at epoch X (where X < Y). Traditionally, there is no way for the consensus system to detect this case. However, the new integrated metadata trees in `riak_ensemble` (which are also at epoch Y) would immediately detect invalid data on access.\r\n\r\nThis approach does nothing to detect intentionally crafted data corruption (eg. malicious users). If users can already access/modify your Riak data files, you've already lost (at least, with Riak's design today).\r\n\r\nIn addition to implementing this new integrity logic, this pull-request also removes the notion of backend trust/syncing from `riak_ensemble`. For Riak itself, this means that Riak-level AAE is no longer necessary to use strongly consistent operations, removing the operational burden discussed above. However, this new integrity checking approach focuses solely on syncing metadata between peers -- not data. This metadata is enough to detect corruption and trigger repair as data is accessed (eg. read repair), but does not sync cold data. Enabling Riak-level AAE is still therefore useful to detect/repair corrupted cold data. (***Note***: Technically not just yet -- that's one of the remaining pull-request items that needs to be done, and will require a PR against `riak_kv`. Coming soon!).\r\n\r\nFor more details, please see the commit messages for each the commits in this pull-request as well as look at the module level edoc for `synctree.erl`.\r\n\r\n","created_at":"2014-07-03T09:30:01Z","updated_at":"2014-07-09T22:19:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd96248f170742f8468f61dc79e85b594cc5ae42","assignee":null,"milestone":{"url":"https://api.github.com/repos/basho/riak_ensemble/milestones/2","labels_url":"https://api.github.com/repos/basho/riak_ensemble/milestones/2/labels","id":605197,"number":2,"title":"2.0-RC","description":"Riak 2.0 release candidate (no known bugs)","creator":{"login":"borshop","id":6749250,"avatar_url":"https://avatars.githubusercontent.com/u/6749250?","gravatar_id":"16ea164becc9b899993428892dad33fc","url":"https://api.github.com/users/borshop","html_url":"https://github.com/borshop","followers_url":"https://api.github.com/users/borshop/followers","following_url":"https://api.github.com/users/borshop/following{/other_user}","gists_url":"https://api.github.com/users/borshop/gists{/gist_id}","starred_url":"https://api.github.com/users/borshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borshop/subscriptions","organizations_url":"https://api.github.com/users/borshop/orgs","repos_url":"https://api.github.com/users/borshop/repos","events_url":"https://api.github.com/users/borshop/events{/privacy}","received_events_url":"https://api.github.com/users/borshop/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":23,"state":"open","created_at":"2014-03-21T17:39:06Z","updated_at":"2014-07-09T19:23:53Z","due_on":"2014-06-20T07:00:00Z"},"commits_url":"https://api.github.com/repos/basho/riak_ensemble/pulls/37/commits","review_comments_url":"https://api.github.com/repos/basho/riak_ensemble/pulls/37/comments","review_comment_url":"https://api.github.com/repos/basho/riak_ensemble/pulls/comments/{number}","comments_url":"https://api.github.com/repos/basho/riak_ensemble/issues/37/comments","statuses_url":"https://api.github.com/repos/basho/riak_ensemble/statuses/9938af23d2066eedfcf7454caa88b8fe2199d46c","head":{"label":"basho:jdb-integrity","ref":"jdb-integrity","sha":"9938af23d2066eedfcf7454caa88b8fe2199d46c","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?","gravatar_id":"ce5141b78d2fe237e8bfba49d6aff405","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":13738526,"name":"riak_ensemble","full_name":"basho/riak_ensemble","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?","gravatar_id":"ce5141b78d2fe237e8bfba49d6aff405","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/riak_ensemble","description":"Multi-Paxos framework in Erlang","fork":false,"url":"https://api.github.com/repos/basho/riak_ensemble","forks_url":"https://api.github.com/repos/basho/riak_ensemble/forks","keys_url":"https://api.github.com/repos/basho/riak_ensemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/riak_ensemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/riak_ensemble/teams","hooks_url":"https://api.github.com/repos/basho/riak_ensemble/hooks","issue_events_url":"https://api.github.com/repos/basho/riak_ensemble/issues/events{/number}","events_url":"https://api.github.com/repos/basho/riak_ensemble/events","assignees_url":"https://api.github.com/repos/basho/riak_ensemble/assignees{/user}","branches_url":"https://api.github.com/repos/basho/riak_ensemble/branches{/branch}","tags_url":"https://api.github.com/repos/basho/riak_ensemble/tags","blobs_url":"https://api.github.com/repos/basho/riak_ensemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/riak_ensemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/riak_ensemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/riak_ensemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/riak_ensemble/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/riak_ensemble/languages","stargazers_url":"https://api.github.com/repos/basho/riak_ensemble/stargazers","contributors_url":"https://api.github.com/repos/basho/riak_ensemble/contributors","subscribers_url":"https://api.github.com/repos/basho/riak_ensemble/subscribers","subscription_url":"https://api.github.com/repos/basho/riak_ensemble/subscription","commits_url":"https://api.github.com/repos/basho/riak_ensemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/riak_ensemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/riak_ensemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/riak_ensemble/issues/comments/{number}","contents_url":"https://api.github.com/repos/basho/riak_ensemble/contents/{+path}","compare_url":"https://api.github.com/repos/basho/riak_ensemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/riak_ensemble/merges","archive_url":"https://api.github.com/repos/basho/riak_ensemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/riak_ensemble/downloads","issues_url":"https://api.github.com/repos/basho/riak_ensemble/issues{/number}","pulls_url":"https://api.github.com/repos/basho/riak_ensemble/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/riak_ensemble/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/riak_ensemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/riak_ensemble/labels{/name}","releases_url":"https://api.github.com/repos/basho/riak_ensemble/releases{/id}","created_at":"2013-10-21T09:49:02Z","updated_at":"2014-07-09T15:12:44Z","pushed_at":"2014-07-09T18:00:47Z","git_url":"git://github.com/basho/riak_ensemble.git","ssh_url":"git@github.com:basho/riak_ensemble.git","clone_url":"https://github.com/basho/riak_ensemble.git","svn_url":"https://github.com/basho/riak_ensemble","homepage":"http://www.youtube.com/watch?v=gXJxbhca5Xg","size":2345,"stargazers_count":22,"watchers_count":22,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":22,"default_branch":"develop"}},"base":{"label":"basho:develop","ref":"develop","sha":"b616defe9af8710f218def42c921eff4923fa424","user":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?","gravatar_id":"ce5141b78d2fe237e8bfba49d6aff405","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"repo":{"id":13738526,"name":"riak_ensemble","full_name":"basho/riak_ensemble","owner":{"login":"basho","id":176293,"avatar_url":"https://avatars.githubusercontent.com/u/176293?","gravatar_id":"ce5141b78d2fe237e8bfba49d6aff405","url":"https://api.github.com/users/basho","html_url":"https://github.com/basho","followers_url":"https://api.github.com/users/basho/followers","following_url":"https://api.github.com/users/basho/following{/other_user}","gists_url":"https://api.github.com/users/basho/gists{/gist_id}","starred_url":"https://api.github.com/users/basho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basho/subscriptions","organizations_url":"https://api.github.com/users/basho/orgs","repos_url":"https://api.github.com/users/basho/repos","events_url":"https://api.github.com/users/basho/events{/privacy}","received_events_url":"https://api.github.com/users/basho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basho/riak_ensemble","description":"Multi-Paxos framework in Erlang","fork":false,"url":"https://api.github.com/repos/basho/riak_ensemble","forks_url":"https://api.github.com/repos/basho/riak_ensemble/forks","keys_url":"https://api.github.com/repos/basho/riak_ensemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basho/riak_ensemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basho/riak_ensemble/teams","hooks_url":"https://api.github.com/repos/basho/riak_ensemble/hooks","issue_events_url":"https://api.github.com/repos/basho/riak_ensemble/issues/events{/number}","events_url":"https://api.github.com/repos/basho/riak_ensemble/events","assignees_url":"https://api.github.com/repos/basho/riak_ensemble/assignees{/user}","branches_url":"https://api.github.com/repos/basho/riak_ensemble/branches{/branch}","tags_url":"https://api.github.com/repos/basho/riak_ensemble/tags","blobs_url":"https://api.github.com/repos/basho/riak_ensemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basho/riak_ensemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basho/riak_ensemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/basho/riak_ensemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basho/riak_ensemble/statuses/{sha}","languages_url":"https://api.github.com/repos/basho/riak_ensemble/languages","stargazers_url":"https://api.github.com/repos/basho/riak_ensemble/stargazers","contributors_url":"https://api.github.com/repos/basho/riak_ensemble/contributors","subscribers_url":"https://api.github.com/repos/basho/riak_ensemble/subscribers","subscription_url":"https://api.github.com/repos/basho/riak_ensemble/subscription","commits_url":"https://api.github.com/repos/basho/riak_ensemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/basho/riak_ensemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/basho/riak_ensemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/basho/riak_ensemble/issues/comments/{number}","contents_url":"https://api.github.com/repos/basho/riak_ensemble/contents/{+path}","compare_url":"https://api.github.com/repos/basho/riak_ensemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basho/riak_ensemble/merges","archive_url":"https://api.github.com/repos/basho/riak_ensemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basho/riak_ensemble/downloads","issues_url":"https://api.github.com/repos/basho/riak_ensemble/issues{/number}","pulls_url":"https://api.github.com/repos/basho/riak_ensemble/pulls{/number}","milestones_url":"https://api.github.com/repos/basho/riak_ensemble/milestones{/number}","notifications_url":"https://api.github.com/repos/basho/riak_ensemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basho/riak_ensemble/labels{/name}","releases_url":"https://api.github.com/repos/basho/riak_ensemble/releases{/id}","created_at":"2013-10-21T09:49:02Z","updated_at":"2014-07-09T15:12:44Z","pushed_at":"2014-07-09T18:00:47Z","git_url":"git://github.com/basho/riak_ensemble.git","ssh_url":"git@github.com:basho/riak_ensemble.git","clone_url":"https://github.com/basho/riak_ensemble.git","svn_url":"https://github.com/basho/riak_ensemble","homepage":"http://www.youtube.com/watch?v=gXJxbhca5Xg","size":2345,"stargazers_count":22,"watchers_count":22,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":22,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/37"},"html":{"href":"https://github.com/basho/riak_ensemble/pull/37"},"issue":{"href":"https://api.github.com/repos/basho/riak_ensemble/issues/37"},"comments":{"href":"https://api.github.com/repos/basho/riak_ensemble/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/basho/riak_ensemble/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/basho/riak_ensemble/statuses/9938af23d2066eedfcf7454caa88b8fe2199d46c"}}}}