How to implement transactions in Swift?

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

takase gravatar image

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

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
1

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 64 times

Last updated: Mar 03 '14