> > 1. For 1st phase we'll place into log "prepared-to-commit" record
> > and this phase will be accomplished after record is
> > flushed on disk.
> > At this point transaction may be committed at any time because of
> > all its modifications are logged. But it still may be rolled back
> > if this phase failed on other sites of distributed system.
>
> 1st phase will also need to do all the delayed constraint checks,
> and all other work a commit currently does, that could possibly lead
> to a transaction abort. The 2nd phase of 2phase commit is not
It was assumed.
Vadim