company logo

Property :: repairCollection - Repair collection

The function checks the physical consistency of all indexes and collection instances. Detected damages are repaired. Moreover, the function checks inverse references for all relationships for collection instances. Messages about repair actions are written to the error log file.

The function will remove index entries pointing to invalid instance (deleted). It repairs also index tree information in large indexes.

The function will not detect logical inconsistencies in indexes, i.e. missing index entries or invalid keys. In order to repair this type of inconsistency, one may call repairKey() or rebuildIndex().


Notes:

The function works similar as callingcheckCollection("-C:IX T:A -R").

Return value:  Result string ( odaba::String & )

The result string contains the result of an action or operation.

Implementation details

odaba::String Property  :: repairCollection (  )

The function returns a string containing repair protocol messages.