{"action":"closed","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/315","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/315/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/315/events","html_url":"https://github.com/wandoulabs/codis/issues/315","id":94647877,"number":315,"title":"codis-proxy实际不支持select db_index?","user":{"login":"hexusheng","id":8536638,"avatar_url":"https://avatars.githubusercontent.com/u/8536638?v=3","gravatar_id":"","url":"https://api.github.com/users/hexusheng","html_url":"https://github.com/hexusheng","followers_url":"https://api.github.com/users/hexusheng/followers","following_url":"https://api.github.com/users/hexusheng/following{/other_user}","gists_url":"https://api.github.com/users/hexusheng/gists{/gist_id}","starred_url":"https://api.github.com/users/hexusheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexusheng/subscriptions","organizations_url":"https://api.github.com/users/hexusheng/orgs","repos_url":"https://api.github.com/users/hexusheng/repos","events_url":"https://api.github.com/users/hexusheng/events{/privacy}","received_events_url":"https://api.github.com/users/hexusheng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T06:14:20Z","updated_at":"2015-07-13T06:21:19Z","closed_at":"2015-07-13T06:21:19Z","body":"使用redis-cli进行选择不同的库并且set值，但是通过proxy 进行set 和get，都可以在不同的库查询所有的值。如下操作：\r\n127.0.0.1:1900> set '1122' '2211'\r\nOK\r\n127.0.0.1:1900> get '1122'\r\n\"2211\"\r\n127.0.0.1:1900> select 9\r\nOK\r\n127.0.0.1:1900[9]> get '1122'\r\n\"2211\"\r\n127.0.0.1:1900[9]> set '3344' '3344'\r\nOK\r\n127.0.0.1:1900[9]> select 0\r\nOK\r\n127.0.0.1:1900> get '3344'\r\n\"3344\"\r\n\r\n直连codis-server实际select后的set和get是生效的。\r\n注，使用的是release 1.9.7 "}}