Review Board 1.7.22

BOOKKEEPER-160: bookie server needs to do compaction over entry log files to reclaim disk space

Review Request #3874 - Created Feb. 12, 2012 and updated

Sijie Guo
bookie server aggregates entries into entry log file. suppose there is lots of ledgers, each ledger has little messages. so a entry log file would contains messages from lots of different ledgers. if there is only one ledger not be deleted, the entry log file would not be removed, whose occupied disk space could not be reclaimed.

Review request changed
Updated (March 3, 2012, 8:07 a.m.)
attach a new patch addressed Ivan's comment to separate minor & major compaction into different threshold and interval to make them clearly.