Affects Version/s: 2.3
Fix Version/s: 2.3
Mark Miller noticed this slowdown (see details in
LUCENE-994) in his
This happens because in SegmentInfo.sizeInBytes(), we just run through
all files associated with that segment, summing up their byte sizes.
But in the case of shared doc stores (which happens when
autoCommit=false), this is not quite correct because those files are
shared across multiple segments.
I plan to fix sizeInBytes() to not include the size of the doc stores
when they are shared.