Jump to: navigation, search

Difference between revisions of "MagnetoDB/specs/all old for put item"

(Created page with "== "ALL_OLD" return value for "put_item" method == Launchpad: [https://blueprints.launchpad.net/magnetodb/+spec/all-old-for-put-item] According to DynamoDB API we must have...")
 
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
Launchpad: [https://blueprints.launchpad.net/magnetodb/+spec/all-old-for-put-item]
 
Launchpad: [https://blueprints.launchpad.net/magnetodb/+spec/all-old-for-put-item]
  
According to DynamoDB API we must have an ability to pass "return_value": "ALL_OLD"
+
While using "put_item" request we do not have any information about presence of
in put_item request to retrieve an old item before replacement:
+
item with same key as we put.
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnValues
+
According to DynamoDB API we must have an ability to pass "ReturnValue": "ALL_OLD"
 +
in put_item request, so replaced item will be returned in response.
 +
 
 +
=== Specification status ===
 +
'''Approved''' by dukhlov, isviridov
 +
 
 +
=== Problem Description ===
 +
Feature is absent in MagnetoDB
 +
 
 +
=== Proposed Change ===
 +
None
 +
 
 +
==== Alternatives ====
 +
None
 +
 
 +
==== Security Impact ====
 +
None
 +
 
 +
==== Notifications Impact ====
 +
None
 +
 
 +
==== Other End User Impact ====
 +
None
 +
 
 +
==== Performance Impact ====
 +
Feature will not make performance impact to ordinary put_item request
 +
 
 +
==== Other Deployer Impact ====
 +
None
 +
 
 +
==== Developer Impact ====
 +
None
 +
 
 +
==== Implementation ====
 +
None
  
 
===== Assignee(s) =====
 
===== Assignee(s) =====
 
Primary assignee:
 
Primary assignee:
  <aostapenko>
+
aostapenko
  
 
Other contributors:
 
Other contributors:
  <None>
+
None
 +
 
 +
===== Work Items =====
 +
None
 +
 
 +
===== Dependencies =====
 +
None
  
 
==== Documentation Impact ====
 
==== Documentation Impact ====
None
+
No documentation impact
  
 
==== References ====
 
==== References ====
None
+
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnValues

Latest revision as of 16:00, 12 September 2014

"ALL_OLD" return value for "put_item" method

Launchpad: [1]

While using "put_item" request we do not have any information about presence of item with same key as we put. According to DynamoDB API we must have an ability to pass "ReturnValue": "ALL_OLD" in put_item request, so replaced item will be returned in response.

Specification status

Approved by dukhlov, isviridov

Problem Description

Feature is absent in MagnetoDB

Proposed Change

None

Alternatives

None

Security Impact

None

Notifications Impact

None

Other End User Impact

None

Performance Impact

Feature will not make performance impact to ordinary put_item request

Other Deployer Impact

None

Developer Impact

None

Implementation

None

Assignee(s)

Primary assignee: aostapenko

Other contributors: None

Work Items

None

Dependencies

None

Documentation Impact

No documentation impact

References

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnValues