Ballot number generation, Retries on classic paxos failures, Transactions log in the database API