{"action":"created","issue":{"url":"https://api.github.com/repos/baidu/tera/issues/692","labels_url":"https://api.github.com/repos/baidu/tera/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/baidu/tera/issues/692/comments","events_url":"https://api.github.com/repos/baidu/tera/issues/692/events","html_url":"https://github.com/baidu/tera/pull/692","id":125864598,"number":692,"title":"tera sdk热备功能","user":{"login":"stevenswong","id":1772676,"avatar_url":"https://avatars.githubusercontent.com/u/1772676?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenswong","html_url":"https://github.com/stevenswong","followers_url":"https://api.github.com/users/stevenswong/followers","following_url":"https://api.github.com/users/stevenswong/following{/other_user}","gists_url":"https://api.github.com/users/stevenswong/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenswong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenswong/subscriptions","organizations_url":"https://api.github.com/users/stevenswong/orgs","repos_url":"https://api.github.com/users/stevenswong/repos","events_url":"https://api.github.com/users/stevenswong/events{/privacy}","received_events_url":"https://api.github.com/users/stevenswong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-11T02:53:21Z","updated_at":"2016-01-19T09:17:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/baidu/tera/pulls/692","html_url":"https://github.com/baidu/tera/pull/692","diff_url":"https://github.com/baidu/tera/pull/692.diff","patch_url":"https://github.com/baidu/tera/pull/692.patch"},"body":"实现：\r\n1. 写操作：数据顺序写到两个tera集群里，只要写一个成功，sdk就返回成功；\r\n2. 读操作：优先读第一个tera集群，成功则返回，失败则读下一个tera集群；\r\n\r\n目前存在的问题：\r\n1. 读操作的SDK是否需要返回数据来自哪个集群信息？\r\n2. 写操作的SDK是否需要返回写哪个集群成功，哪个集群失败的信息？"},"comment":{"url":"https://api.github.com/repos/baidu/tera/issues/comments/172786056","html_url":"https://github.com/baidu/tera/pull/692#issuecomment-172786056","issue_url":"https://api.github.com/repos/baidu/tera/issues/692","id":172786056,"user":{"login":"stevenswong","id":1772676,"avatar_url":"https://avatars.githubusercontent.com/u/1772676?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenswong","html_url":"https://github.com/stevenswong","followers_url":"https://api.github.com/users/stevenswong/followers","following_url":"https://api.github.com/users/stevenswong/following{/other_user}","gists_url":"https://api.github.com/users/stevenswong/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenswong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenswong/subscriptions","organizations_url":"https://api.github.com/users/stevenswong/orgs","repos_url":"https://api.github.com/users/stevenswong/repos","events_url":"https://api.github.com/users/stevenswong/events{/privacy}","received_events_url":"https://api.github.com/users/stevenswong/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T09:17:54Z","updated_at":"2016-01-19T09:17:54Z","body":"build"}}