Re: outrigger recovery

"John McClain - Sun Microsystems, Inc." <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
solomon wu wrote:
> How does outrigger recovers from crashes.
> transient-outrigger will not recover.  persistent-outrigger will be able
> to recover from the transaction.
> does this question make sense?  thank you very much.

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.

Non-translational operations that return normally are guaranteed to have
been fully completed (modulo event delivery, which is unreliable in any
event) and in the case of persistent Outrigger made durable.
Non-transaction operations that throw RemoteException may or may not
have succeeded, but they will either fully succeed, or completely
failed, they won't end up in between - in particular in the case of
persistent Outrigger if the operation succeeds it will be made durable,
if it fails it will not be.

Does this answer your question?

--
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.