Re: outrigger recovery

solomon wu <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <LISTSERV%[email protected]>
Thank you, John, for answering this open-end question.

Let's focus on the transaction first.

I understand the part about not recover the transaction that is not yet in
PREPARED state.  Those transaction can be safely disgarded.

For those prepared transactions, I assume that the participant will call
getState() of the manager as indicated in the spec.  Then it decides
whether to rollforward or rollback depending on the result of getState.
Do you happen to remember which class does this?

For the committed transaction, the transaction is done.  We do not need to
recover that transaction.  Is that your assumption, too?

thank you.
On Wed, 5 Apr 2006 10:12:50 -0400, John McClain - Sun Microsystems, Inc.
<[email protected]> wrote:

>
>Transactions that are still active will be lost (when you try to commit
>them Outrigger will throw UnknownTransactionException from the prepare
>call and the Transaction will be aborted) and outrigger will undo any
>state that have been made under such transactions.  Transactions that
>have been prepared, or committed will be retained across a crash.
>
>John McClain                                    [email protected]
>Sun Microsystems, Inc.
>Burlington, MA
>
>no files, just services

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.