jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Hanikel <ahani...@adobe.com>
Subject TarFile scans whole file in constructor
Date Fri, 14 Feb 2014 13:42:17 GMT
Hi,

The org.apache.jackrabbit.oak.plugins.segment.file.TarFile constructor 
reads through the whole tar file, building up an in-memory map from 
segment uuid to the position in the file. This is done each time the 
repository is started, and it takes quite a long time. Shouldn't this 
index be persisted somehow, and be updated when the tar file is being 
written to?

Should I create an issue for this or am I missing anything?

Bye!
     Axel



Mime
View raw message