Crash recovery in JDataStore
By: Ben Matterson
Abstract: How JDatStore recovers from failures, including media failures.
How does JDataStore support Crash Recovery?
Crash recovery is automatic. The system should automatically recover from
all failures except media failures when it is reopened.
Since JDataStore is as a low administration embeddable database, it is
mostly focussed on automatic recovery of the more common failures like:
- abnormal application termination
- operating system crash
- power failure
Recovery from damaged media can be accomplished, but requires more administration.
A media failure in the database file itself (*.jds) may be recovered if:
- There is a backup copy of the .jds file.
- All the log files that were created since the last .jds file backup were archived.
Published on: 10/17/2002 12:00:00 AM
Server Response from: ETNASC01