23.1. Safer index
update for ClassImporter
Sometimes the
index update does not work properly in the ClassImporter.[115]
With V10 SP6 the
index update functionality has been improved to make the update process
safer.
Solution: In the
configuration file $CADEANAS_SETUP/classimport.cfg,
set USETRANSACTIONSFORINDEXUPDATE to 1.
There are 4
additional keys in classimport.cfg:
USETRANSACTIONSFORINDEXUPDATE
0
(default): Standard behavior
1: The
old index files are copied when updating the index. If the index
update fails, there will be attempts to repair the index.
INDEXUPDATERETRYCOUNT
Default
value: 1
Number of attempts to repair the
index
INDEXUPDATERETRYINTERVAL.
Default
value: 60000
Number of milliseconds to wait for
next attempt to repair the index. If there are network failures, there
is a greater chance that it will work again when waiting a few
seconds.
INDEXVERSIONSTOKEEP
Default
value: 1
When updating
the index, the version is incremented. If there are more versions than
this, old files will be deleted.