summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-05-27 12:47:15 +0100
committerMatthias Radestock <matthias@lshift.net>2010-05-27 12:47:15 +0100
commit784ad2b82c1df0535fee8f4d0c4b277b4ee3865e (patch)
tree6c7ff43c67f8fabbc90e51b757c582fb5c595b2a /scripts
parentff084083c8424564615b541a6911ef5f3c45939d (diff)
downloadrabbitmq-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')
0 files changed, 0 insertions, 0 deletions