summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-10-08 17:38:21 +0100
committerMatthew Sackman <matthew@lshift.net>2009-10-08 17:38:21 +0100
commit0c9a7ab8868bfe47682c4ef05eb283b23ef852e5 (patch)
tree330de6f75e957bc535e1bc5e8909ae221a7381e2 /src/rabbit.erl
parent1ecb08930cfd4cfad92ac382fd8208c8f889a0d2 (diff)
downloadrabbitmq-server-git-0c9a7ab8868bfe47682c4ef05eb283b23ef852e5.tar.gz
The calculation of the highest seq id in the index queue was wrong - it was simply returning the highest unacked seq id, instead of looking for the highest seq id ever encountered. This could have led to reuse of seq ids. We also need to know the total message count in the queue index which is the number of unacked msgs recorded in the index, and we also need the seq id of the segment boundary of the segment containing the first msg in the queue. This is so that we can form the inital gamma correctly.
Diffstat (limited to 'src/rabbit.erl')
0 files changed, 0 insertions, 0 deletions