• 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
..
admin Loading commit data...
client Loading commit data...
lib Loading commit data...
master Loading commit data...
neoctl Loading commit data...
scripts Loading commit data...
storage Loading commit data...
tests Loading commit data...
__init__.py Loading commit data...
debug.py Loading commit data...