diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-03-15 10:58:36 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-03-15 10:58:36 +0200 |
commit | c72a57b99c93a14cdf924771455a74aa358227c6 (patch) | |
tree | 25407e84c18cdddc05ec7b3d9ce0b0c3541ce6a9 /protocol.txt | |
parent | fe648009635c8b744c51303020fd0b3b9cfe83c9 (diff) | |
download | aconf-c72a57b99c93a14cdf924771455a74aa358227c6.tar.bz2 aconf-c72a57b99c93a14cdf924771455a74aa358227c6.tar.xz |
improved handling of nested transactions
add nested transaction support to protocol
allow deferring validation to parent transaction
process each update request within a nested transaction
Diffstat (limited to 'protocol.txt')
-rw-r--r-- | protocol.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocol.txt b/protocol.txt index 0d699f3..c869224 100644 --- a/protocol.txt +++ b/protocol.txt @@ -19,9 +19,11 @@ req: POST / resp: txn ID (in header as X-ACF-Transaction-ID) - use X-ACF-Transaction-ID in the header of any subsequent request to process it in the transaction's context + - nested transactions can be started by using it in a subsequent + start transaction request Commit transaction: -req: POST / +req: PUT / X-ACF-Transaction-ID: <txn_id> Abort transaction: |