A two-phase-commit protocol for leveldb.