Hi,

Sound weird. Query qry.setLocal(true) should return  local query result.

Would you please share a code?

On Fri, Jul 14, 2017 at 11:04 AM, neerajbhatt <[email protected]>
wrote:

> Hello All
>
> We have a requirement to set time out for each node so that we can get a
> partial result , in case of a time out from a particular node. To solve
> this
> we have created a cluster group for each node and run compute
>
> ClusterGroup cg = cluster.forAttribute("ROLE", group);
> computes.add(ignite.compute(cg).withAsync().withTimeout(5000));
>
> with qry.setLocal(true);
>
> Since the caches are partitioned on a id we should get different result
> from
> each cluster group but we are getting same records from different cluster
> groups
>
> So does cluster group works in case of sql query like it works in job
> execution, service deployment, messaging, events (as given in
> documentation)
> ?
>
> Thanks
>
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/sql-query-in-case-of-cluster-group-tp14884.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 
Best regards,
Andrey V. Mashenkov

Reply via email to