{"action":"created","issue":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/1473","repository_url":"https://api.github.com/repos/xetorthio/jedis","labels_url":"https://api.github.com/repos/xetorthio/jedis/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/xetorthio/jedis/issues/1473/comments","events_url":"https://api.github.com/repos/xetorthio/jedis/issues/1473/events","html_url":"https://github.com/xetorthio/jedis/issues/1473","id":210160438,"number":1473,"title":"Writing to read-only slave fails silently inside of MULTI block","user":{"login":"aniketschneider","id":1544971,"avatar_url":"https://avatars1.githubusercontent.com/u/1544971?v=3","gravatar_id":"","url":"https://api.github.com/users/aniketschneider","html_url":"https://github.com/aniketschneider","followers_url":"https://api.github.com/users/aniketschneider/followers","following_url":"https://api.github.com/users/aniketschneider/following{/other_user}","gists_url":"https://api.github.com/users/aniketschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/aniketschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniketschneider/subscriptions","organizations_url":"https://api.github.com/users/aniketschneider/orgs","repos_url":"https://api.github.com/users/aniketschneider/repos","events_url":"https://api.github.com/users/aniketschneider/events{/privacy}","received_events_url":"https://api.github.com/users/aniketschneider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-02-24T21:18:18Z","updated_at":"2017-04-09T09:36:15Z","closed_at":null,"body":"### Expected behavior\r\n\r\nWhen writing to a read-only slave node outside of a transaction throws a `JedisDataException`.  I would expect the same behavior inside of a transaction, as seen in the command-line redis client:\r\n\r\n```\r\n127.0.0.1:7379> multi\r\nOK\r\n127.0.0.1:7379> set test test\r\n(error) READONLY You can't write against a read only slave.\r\n127.0.0.1:7379> exec\r\n(empty list or set)\r\n```\r\n\r\n### Actual behavior\r\n\r\nWriting to a read-only slave as part of a transaction fails silently.\r\n\r\n### Steps to reproduce:\r\n\r\nThis fails to write anything without producing any errors:\r\n\r\n```\r\nJedis j = new Jedis(\"read-only-slave\");\r\n\r\nTransaction t = j.multi();\r\nt.set(\"test\", \"test\");\r\nList<Object> results = t.exec();\r\n```\r\n\r\n### Redis / Jedis Configuration\r\n\r\n#### Jedis version: 2.9.0\r\n\r\n#### Redis version: 2.8.13, 3.2.8\r\n\r\n#### Java version: 1.8.0_77\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/comments/292775132","html_url":"https://github.com/xetorthio/jedis/issues/1473#issuecomment-292775132","issue_url":"https://api.github.com/repos/xetorthio/jedis/issues/1473","id":292775132,"user":{"login":"sheinbergon","id":4031179,"avatar_url":"https://avatars0.githubusercontent.com/u/4031179?v=3","gravatar_id":"","url":"https://api.github.com/users/sheinbergon","html_url":"https://github.com/sheinbergon","followers_url":"https://api.github.com/users/sheinbergon/followers","following_url":"https://api.github.com/users/sheinbergon/following{/other_user}","gists_url":"https://api.github.com/users/sheinbergon/gists{/gist_id}","starred_url":"https://api.github.com/users/sheinbergon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheinbergon/subscriptions","organizations_url":"https://api.github.com/users/sheinbergon/orgs","repos_url":"https://api.github.com/users/sheinbergon/repos","events_url":"https://api.github.com/users/sheinbergon/events{/privacy}","received_events_url":"https://api.github.com/users/sheinbergon/received_events","type":"User","site_admin":false},"created_at":"2017-04-09T09:36:15Z","updated_at":"2017-04-09T09:36:15Z","body":"@marcosnils  @HeartSaVioR  any response ???"}}
{"actor":{"display_login":"sheinbergon"}}