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

Ask Your Question

Change API: putInMap without transactions

Is putInMap safe to use without transactions?

Assume I have object in space which have map property. I'm updating this object using Change API, but only using putInMap operations. Space is accessed from multiple hosts, so it is remote (clustered).

Is there any chance of loss of updates or object's map corruption if I'm not using transactions?

asked 2014-03-12 15:16:44 -0600

dragoncube gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

in general you should use transactions whenever multiple clients/threads modify the same data, but if you are certain that all modifications are performed by change api, then there should not be a problem

answered 2014-03-13 10:31:17 -0600

jb 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: 2014-03-12 15:16:44 -0600

Seen: 134 times

Last updated: Mar 13 '14