Atomic counter support

Registered by Ilya Sviridov on 2014-02-13

Atomicity of increment/decrement operations
Now MagnetoDB has partially implemented UpdateItem request. It has support of PUT and DELETE actions on storage level which don't not depend on current type of item's attribute to be updated. We need to Implement smart UpdateIdem ADD action which will be able to perform atomic decrement and increment if Item's attribute for update operation is number. Take a look at DynamoDB API documentation for details:
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html

Also now MagnetoDB doesn't have REST API implementation of UpdateItem request, So it is also necessary to implement it.

Blueprint information

Status:
Complete
Approver:
Dmitriy Ukhlov
Priority:
High
Drafter:
Ilya Sviridov
Direction:
Approved
Assignee:
Alexander Chudnovets
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-3
Started by
Maksym Iarmak on 2014-05-07
Completed by
Ilya Sviridov on 2014-08-15

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/atomic-counters,n,z

Addressed by: https://review.openstack.org/93419
    (WIP) Add UpdateItem REST api method

Addressed by: https://review.openstack.org/93619
    Draft version of atomic counters API

Addressed by: https://review.openstack.org/93654
    1) fix API for atomic counter, 2) add support at storage level 3) add support in delete and create table at cassandra driver level

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.