Made changes to add support for locking the db during a distributed
commit.