summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-12-11 16:55:19 +0000
committerMatthew Sackman <matthew@lshift.net>2009-12-11 16:55:19 +0000
commitff7ddc2ea6167a0cfa532af32c18c0090390d9a8 (patch)
treef28d8f14b774add1a50a758e4a6234e099e2043e /include/rabbit.hrl
parent1612a81eaefa08bbc00a8bc786b25e02fbda894d (diff)
downloadrabbitmq-server-git-ff7ddc2ea6167a0cfa532af32c18c0090390d9a8.tar.gz
load_segments deliberately does not adjust the pubs and acks count in the segments because doing so would clobber over values carefully constructed to contain both information from the journal and from segment, which is used to detect when flushing to a segment is unnecessary because the file is "full" and so can be deleted (i.e. pubs == acks which is sum both of in segfile and journal). On startup, we were failing to set the pubs/acks counts correctly, leading to queues doing recovery correctly but then returning a length of 0.
Diffstat (limited to 'include/rabbit.hrl')
0 files changed, 0 insertions, 0 deletions