~measurement-factory/squid/collapsed-fwd

Viewing all changes in revision 12585.

  • Committer: Alex Rousskov
  • Date: 2013-08-15 22:21:16 UTC
  • Revision ID: rousskov@measurement-factory.com-20130815222116-i7uzap5e1dqf3tsm
Do not use StoreEntry::swap_file_sz to write DbCellHeader::entrySize,
even during the last write.

StoreEntry::swap_file_sz is often set by storeSwapOutFileClosed, which is
called after the last write.

Also, I am not sure whether partial StoreEntry::swap_file_sz info might later
confuse store rebuild code into thinking that the whole entry is malformed.
That would be [different] bug.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: