[Mulgara-dev] errors restoring from backup

Russell Uman ruman at plos.org
Mon May 17 22:23:57 UTC 2010


howdy!

we're using mulgara 2.1.4.1 and XA 1.0

we tried to restore from a backup yesterday, and kept getting errors:

Error running query 'restore <local:///topazproject> from
<file:/tmp/serverbackup.gz>;':
org.mulgara.query.QueryException: java.lang.InterruptedException: null

2010-05-16 14:01:51,925 WARN  MulgaraXAResourceContext> Attempted to
rollback heuristically rollbacked transaction: xa-code=6,
reason-string='java.lang.RuntimeException: Exception in
TripleWriteThread:
/var/lib/topaz/data/mulgara/topazproject/xaStatementStore/xa.g_2013'
[RMI TCP Connection(56)-192.168.66.54
org.mulgara.resolver.MulgaraXAResourceContext]

in an offline conversation with paul, he suggested that there was a
timeout.

however, i was skeptical because
-iirc, we see a reference to "timeout" in the error log when restores
timeout
-we had set a >16 hour timeout in our tql shell, which had not been
reached
-we got the same error - referring to the same file - on multiple
attempts, with different time intervals: the first time after 3 hours,
the second after 2 hours

we were able to restore the backup to XA 1.1

later, we were able to restore the backup to XA 1.0 after wiping the XA
1.0 datastore and starting from scratch.

maybe there was some corruption (mulgara or even disk level?) in that
one file that was causing problems? any other ideas?

Russell Uman
Web Engineer
Public Library of Science
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is confidential to the intended recipient. If you have received it in error, please notify the sender and delete it from your
system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions presented are solely those of the sender and do
not necessarily represent those of Public Library of Science unless otherwise specifically stated. Please note that neither Public Library
of Science nor any of its agents accept any responsibility for any viruses that may be contained in this e-mail or its attachments and it
is your responsibility to scan the e-mail and attachments (if any).


More information about the Mulgara-dev mailing list