How does JDataStore supports Crash Recovery?

概要: How does JDataStore supports Crash Recovery?

Crash recovery is automatic. The system should automatically recover (when it
is reopened) from all failures except media failures.

A media failure in the database file itself (*.jds) could be recovered if:

1) you had a backup copy of the .jds file.
2) you archived off all the log files that were created since your backup .jds file.

Since we are a low administration embedable database, we mostly focus on
automatic recovery of the more common failures like: abnormal application
termination, operating system crash and power failure. Recovery from damaged
media can be accomplished, but requires more administration.