summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-06 00:18:05 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-06 00:18:05 +0100
commit02c232663d4059c5a489523f027070b6d1650bb2 (patch)
treeac431fac317b910ceb6440ac76a95eb39063f0c0 /packaging
parent69ac8068271a48be671699a330d12fd74c7f2779 (diff)
downloadrabbitmq-server-git-02c232663d4059c5a489523f027070b6d1650bb2.tar.gz
Fixed a leak - if we have many queue index segments which were written to disk but contained only references to transient messages then on restart, they would never be removed. Unfortunately, this does potentially introduce further work on startup (the queue will try to ensure that it loads the persistent contents of the first segment which contains a persistent message, which can involve scanning through a lot of segments. However, this is actually pretty quick. The only way to fix this would be to keep per segment counters of persistent messages and ensure that's written to disk too, but the extra code cost and complexity may make this just not worth it.
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions