Incubaid/arakoon — pull request #44 by domsj (2013-04-30 16:02:23+00:00)
Title: Transaction changes

Contrary to it's name this branch contains the following changes:
- added sub i tracking (represented by the 'j' counter) to the store, to ensure transactional application of paxos values (with multiple updates) to the store, should the node die while applying these updates
- added with_transaction to the store. the supplied transaction object is as off now required to perform updates to the store.
- added a mechanism (with_transaction_lock) to lock the aquirement of a transaction to help in ensuring the application of a paxos value to the store happens transactionally
- batched multiple tlog entries into 1 store-transaction when performing catchup
- tests for all of the above

suggestions, especially related to my transaction_lock thingie are appreciated.

Other possible changes:
- make batch size configurable
- add batching for the updates inside 1 paxos value (in regular non catchup regime)

I still need to run the integration tests, will do this as soon as the infrastructure for this is completely working again. This also needs a ticket, will provide the issue number here once it has been created.