Ask Your Question

How to implement transactions in Swift?

asked 2013-06-25 02:14:11 -0500

takase gravatar image

updated 2014-03-03 17:53:12 -0500

smaffulli gravatar image

Hi Guys,

Is it possible to implement transaction(or two phase commits)in Swift?For instance,I want to make sure that my service will "delete" every selected objects at one time or raise error. I presume that the only way to communicate with Swift is the Rest protocol and it might be little difficult to do such things with this method.Any advice is welcome.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-03 18:06:00 -0500

notmyname gravatar image

Swift is an eventually consistent system, so any transaction across multiple API operations would need to be implemented by the client.

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-06-25 02:14:11 -0500

Seen: 40 times

Last updated: Mar 03 '14