Added maxVisit to processCommit. This will be used for commit and rollback.