diff options
| author | Matthias Radestock <matthias@lshift.net> | 2010-05-27 12:47:15 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2010-05-27 12:47:15 +0100 |
| commit | 784ad2b82c1df0535fee8f4d0c4b277b4ee3865e (patch) | |
| tree | 6c7ff43c67f8fabbc90e51b757c582fb5c595b2a /scripts/rabbitmq-activate-plugins | |
| parent | ff084083c8424564615b541a6911ef5f3c45939d (diff) | |
| download | rabbitmq-server-git-784ad2b82c1df0535fee8f4d0c4b277b4ee3865e.tar.gz | |
close segment handles straight after use
This keeps the number of open fds low (just two - one for the journal
and segment) whereas previously it could be as high as the total
number of segments during a) the qi walk in msg_store recovery, b) qi
dirty recovery, qi journal flushing.
There are two nice side effects of this change:
- #segment records no longer need to contain a file handle
- load_segment can use a read-only handle
Diffstat (limited to 'scripts/rabbitmq-activate-plugins')
0 files changed, 0 insertions, 0 deletions
