{"action":"created","issue":{"url":"https://api.github.com/repos/aerospike/aerospike-server/issues/86","labels_url":"https://api.github.com/repos/aerospike/aerospike-server/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/aerospike/aerospike-server/issues/86/comments","events_url":"https://api.github.com/repos/aerospike/aerospike-server/issues/86/events","html_url":"https://github.com/aerospike/aerospike-server/issues/86","id":101825695,"number":86,"title":"Batch query bytes error","user":{"login":"chzhuo","id":10919124,"avatar_url":"https://avatars.githubusercontent.com/u/10919124?v=3","gravatar_id":"","url":"https://api.github.com/users/chzhuo","html_url":"https://github.com/chzhuo","followers_url":"https://api.github.com/users/chzhuo/followers","following_url":"https://api.github.com/users/chzhuo/following{/other_user}","gists_url":"https://api.github.com/users/chzhuo/gists{/gist_id}","starred_url":"https://api.github.com/users/chzhuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chzhuo/subscriptions","organizations_url":"https://api.github.com/users/chzhuo/orgs","repos_url":"https://api.github.com/users/chzhuo/repos","events_url":"https://api.github.com/users/chzhuo/events{/privacy}","received_events_url":"https://api.github.com/users/chzhuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-19T07:32:10Z","updated_at":"2015-11-14T01:30:06Z","closed_at":null,"body":"#Environment\r\nServer : Aerospike Community Edition build 3.5.13\r\nClient : \r\n<dependency>\r\n\t<groupId>com.aerospike</groupId>\r\n\t<artifactId>aerospike-client</artifactId>\r\n\t<version>3.1.4</version>\r\n</dependency> \r\n\r\nConfigure:  as/etc/aerospike_dev.conf\r\n\r\nI use 'make init  ;  make start'  to start the server.\r\n\r\n#Run Code\r\n```java\r\n\tpublic static void main(String[] args) {\r\n\t\tAerospikeClient client = new AerospikeClient(\"192.168.1.134\", 3000);\r\n\t\tint size = 3;\r\n\t\t//insert\r\n\t\tbyte[] bytes = new byte[1024*512];\r\n\t\tfor(int i = 0;i<size;++i){\r\n\t\t\tKey key = new Key(\"test\",\"demo\",i);\r\n\t\t\tBin bin = new Bin(\"value\",bytes);\r\n\t\t\tclient.put(null, key, bin);\r\n\t\t}\r\n\t\t\r\n\t\t//query \r\n\t\tKey[] keys = new Key[size];\r\n\t\tfor(int i = 0;i<size;++i){\r\n\t\t\tkeys[i] = new Key(\"test\",\"demo\",i);\r\n\t\t}\r\n\t\tRecord[] records = client.get(null, keys);\r\n\t\tSystem.out.println(records.length);\r\n\t}\r\n```\r\nI catch the exception\r\n```java\r\nException in thread \"main\" com.aerospike.client.AerospikeException$Parse: Error Code -2: Unexpected batch key returned: test,ae6a515f37de4adacc4496e2da1fea848c3a9270,1,0\r\n\tat com.aerospike.client.command.Batch$GetArrayDirect.parseRow(Batch.java:172)\r\n\tat com.aerospike.client.command.MultiCommand.parseGroup(MultiCommand.java:114)\r\n\tat com.aerospike.client.command.MultiCommand.parseResult(MultiCommand.java:71)\r\n\tat com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56)\r\n\tat com.aerospike.client.command.BatchExecutor.execute(BatchExecutor.java:65)\r\n\tat com.aerospike.client.AerospikeClient.get(AerospikeClient.java:630)\r\n\tat com.example.aerospike_java.local.QQ.main(QQ.java:48)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aerospike/aerospike-server/issues/comments/156604666","html_url":"https://github.com/aerospike/aerospike-server/issues/86#issuecomment-156604666","issue_url":"https://api.github.com/repos/aerospike/aerospike-server/issues/86","id":156604666,"user":{"login":"xiaosuo","id":105033,"avatar_url":"https://avatars.githubusercontent.com/u/105033?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaosuo","html_url":"https://github.com/xiaosuo","followers_url":"https://api.github.com/users/xiaosuo/followers","following_url":"https://api.github.com/users/xiaosuo/following{/other_user}","gists_url":"https://api.github.com/users/xiaosuo/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaosuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaosuo/subscriptions","organizations_url":"https://api.github.com/users/xiaosuo/orgs","repos_url":"https://api.github.com/users/xiaosuo/repos","events_url":"https://api.github.com/users/xiaosuo/events{/privacy}","received_events_url":"https://api.github.com/users/xiaosuo/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T01:30:06Z","updated_at":"2015-11-14T01:30:06Z","body":"wow，it seems 3.6.4 still have this issue. The good news is I don't need to verify it."}}