Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow long running read transactions to be broken up #1951
This enables long running read transactions to be broken up and reuse the same transaction object instead of creating a new one each time periodically which is more efficient as per the official documentation. This will help with some of the forthcoming transaction breakup tasks.
As read/write now return different concrete objects (to make use of RAII for automatic cleanup) they can no longer be specified by using a
It is currently possible to pass a read only transaction object to something that expects a write transaction, this is only apparent at run-time. This can now be made a compile-time constraint by specifying a