diff options
| author | Matthias Radestock <matthias@lshift.net> | 2010-05-10 19:26:09 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2010-05-10 19:26:09 +0100 |
| commit | c4a0ea1d28dad8d10dc13cc90fd2170e490149fa (patch) | |
| tree | 8f98ee1688b58ef7fdfc089f5ee35504ef0efb71 /docs | |
| parent | 0909e6d20ee72fcfb8c57d24f8ef90151be8904b (diff) | |
| download | rabbitmq-server-git-c4a0ea1d28dad8d10dc13cc90fd2170e490149fa.tar.gz | |
correct harmless off-by-one mistake
a gc can only take place if we have at least three files - the current
file (which we cannot gc), the source file and the destination
file. We do a quick check wether there is enough data - garbage or
otherwise - to require more than two files. This can give false
positives since the last message in a file can overrun the
limit, but that's ok as the code that follows performs more accurate
(but also more expensive) checks.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
