fixing a corrupted cluster
Jimmy Stiefel <[email protected]> Mon, 21 Nov 2005 16:34:20 -0800
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <1132619660.22856.30.camel@crystal> |
I had a disk problems corrupt one of my cluster files
(ozone/data/46185717.cl). Rebuilding the nameTable.wizard, I hit:
Nov-21 16:15 WARN [main] WizardStore - exception while loading
cluster: 46185717 (java.io.UTFDataFormatException)
Nov-21 16:15 DEBUG [main] WizardStore -
<snip stack trace>
Nov-21 16:15 INFO [main] WizardStore - cluster is unable to
read - should be deleted!
Now (as a result?) I'm hitting "org.ozoneDB.ObjectNotFoundException No
such object" as I traverse my data. I'm wondering if someone can give
me some guidance to repair this.
I'm wondering how safe it is to restore that cluster file from a recent
backup. I'm going to try using backups to see. Most of the objects in
my system are infrequently updated; mostly new objects are added and
collections grow, so I am less worried about object values as I am about
getting those "missing" objects back.
For WizardStore, is it safe to assume objects generally reside in the
cluster they were created? and are objects added sequentially to a
cluster until it's size cap is reached, then a new cluster is added?
thanks for any help you can offer!
~Jimmy
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click