New txn package

2014-06-15 Thread Ian Booth
Hi all A new txn package has been introduced under state. This package provides a txn.Runner interface, the implementation of which provides functionality previously inside the State struct. All of the transaction hooks for use in tests also have been moved across. A major feature of the new

Re: New txn package

2014-06-16 Thread William Reade
On Mon, Jun 16, 2014 at 6:54 AM, Ian Booth wrote: > > A major feature of the new implementation is that the logic for retrying > transaction operations after a consistency error is all nicely packaged > and the > calling code is much simpler. It is no longer necessary to use a for{} > loop with >