An optimistic commit protocol for distributed transaction management