Closed deepakprabhakara closed 7 years ago
The following code that worked fine in v3.x starts to timeout in v4.x. You don't even need any data to replicate this. Looks like something wrong in the changes to ExecuteTask?
stmt.setNamespace("ns"); stmt.setSetName("set"); stmt.setBinNames("bin"); stmt.setFilters(Filter.equal("account", "dummy")); WritePolicy policy = new WritePolicy(); policy.consistencyLevel = ConsistencyLevel.CONSISTENCY_ALL; policy.commitLevel = CommitLevel.COMMIT_ALL; ExecuteTask task = as.execute(policy, stmt, "my_lua_udf", "delete_account"); task.waitTillComplete(100, 1000);```
It's broken. We will issue a new java client release soon.
Java client 4.0.2 has been released which fixes the problem.
http://www.aerospike.com/download/client/java/4.0.2/
The following code that worked fine in v3.x starts to timeout in v4.x. You don't even need any data to replicate this. Looks like something wrong in the changes to ExecuteTask?