Gorka Eguileor 253f9ea67b Remove API races from consistency groups
There is a potential window of opportunity where races can happen in the
API on consistency group related actions, this patch removes those
windows of opportunity using compare-and-swap for DB updates.

Races have been removed in following actions:

- create
- delete
- update
- create_cgsnapshot
- delete_cgsnapshot

Specs: https://review.openstack.org/232599/

Implements: blueprint cinder-volume-active-active-support
Change-Id: I67aec4cd8bcf2f7e09473a8d296aa383fe85ad23
2016-06-01 17:18:06 +02:00
..
2015-05-25 22:20:28 +02:00
2016-01-08 11:05:44 -05:00
2013-12-30 18:53:02 -06:00
2013-06-14 14:02:17 +00:00