Corrupted database recovery

 

With version 4.0 a corrupted database recovery mechanism is added.

 

If database server suspects possible corruption, primarily due to unexpected shutdown it will raise the flag

 

bool IsCorruptionSuspected

 

which is available via DB client.

 

Seeing the flag allows user application to decide whether to take recovery steps or to ignore it.

 

Recover attempt can be made using method

 

bool RecoverDatabase()

 

The method returns either true, if it succeeds, or false otherwise.

 

An auto recovery for Desktop mode can be configured. In Eloquera.config there is an item

 

AutoRecovery="false"

 

Set this flag to true for database to attempt auto recover whenever it suspects possible corruption