Need to rebuild reference map if making changes in batch mode
This commit is contained in:
parent
195fdc3cf8
commit
3cb64cdca8
@ -819,6 +819,8 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
||||
self.env.txn_checkpoint()
|
||||
# Only build surname list after surname index is surely back
|
||||
self.build_surname_list()
|
||||
# FIXME: need a User GUI update callback here:
|
||||
self.reindex_reference_map(lambda percent: percent)
|
||||
|
||||
# Reset callbacks if necessary
|
||||
if transaction.batch or not len(transaction):
|
||||
|
Loading…
Reference in New Issue
Block a user