• Julien Muchembled's avatar
    importer: speed up txn lookup when migrating from FileStorage · cd33de9f
    Julien Muchembled authored
    This speeds up 2 operations that were horribly slow (linear scan
    of source database, from the beginning or from the end):
    - read access to not yet migrated data
    - resumption (restart of storage node whereas import was not finshed)
    
    Testing will tell if this patch is enough, or if more efficient solutions are
    required, like:
    - building a preliminary {tid->file_pos} index while the source DB is still
      in use (in this case, NEO may have to deal with a small gap at the end)
    - disabling ZODB features requiring data_serial (undo)
    cd33de9f
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
BUGS Loading commit data...
CHANGES Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README Loading commit data...
TESTS.txt Loading commit data...
TODO Loading commit data...
UPGRADE Loading commit data...
ZODB3.patch Loading commit data...
importer.conf Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neolog Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...