Subject | Re: [firebird-support] Two phase recovery |
---|---|
Author | Ann W. Harrison |
Post date | 2007-12-02T19:48:03Z |
Fabiano Bonin wrote:
Firebird will determine on its own whether the transaction should
be committed or rolled back. If any sub-transaction has not prepared,
then everyone rolls back. If everyone has prepared, everyone
commits. If anyone can't be found, then gfix has to ask.
Do you really want to commit regardless of the state of the other
sub-transactions?
Best regards,
Ann
> Hi all,If all participants in the original transaction are available,
>
> Why sometimes when doing two phase recovery gfix ask for what
> operation should be done (commit, rollback ou neither) and sometimes
> it doesn't ask anything?
Firebird will determine on its own whether the transaction should
be committed or rolled back. If any sub-transaction has not prepared,
then everyone rolls back. If everyone has prepared, everyone
commits. If anyone can't be found, then gfix has to ask.
Do you really want to commit regardless of the state of the other
sub-transactions?
Best regards,
Ann