Add support for restartable transactions when concurrency errors occur

This way applications can more easily recover from concurrency problems
at the database level by retrying the sequence of operations they need
to complete a task.

Signed-off-by: Shawn O. Pearce <sop@google.com>
3 files changed