Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Take from local partition only

I am sure that this is probably a very simple operation, but I have not found an answer just yet in the docs.

I have a stateful PU (business logic + embedded space) which I am deploying as a partition-synch-to-backup, with 2 instances each with a single backup. Space objects are written to the embedded spaces by another PU with a routing ID. I can see that the routing is splitting the objects evenly.

Now in the business logic of the stateful PU I do a take multiple periodically based on configured timings. In this take multiple I would like each PU to only take those objects which are stored in the local partition. I have not been able to do that. I have tried using the MEMORY_ONLY_SEARCH TakeModifier but this appears to make no difference.

I also looked at all the other operations available on the GigaSpace interface but there were no promising leads. Do I need a modified space proxy of some king?

asked 2015-06-14 05:57:20 -0500

dennisla gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

It's always the way! I ask the question and then find the solution. :)

I can see from this other question that the solution is to use a (or another) GS Proxy with the clustered parameter set to false.

I'll leave this here in case anyone is approaching the problem from the same direction as I was.

answered 2015-06-14 06:06:19 -0500

dennisla gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-14 05:57:20 -0500

Seen: 3,043 times

Last updated: Jun 14 '15