Changed the way blockbuffers are used after they fill up.
The blockbuffers that get full are now moved to the end of the list of blocks. This prevents messages being written to the disk in the wrong order.
This commit is contained in:
@ -45,7 +45,7 @@ error=0
|
||||
for i in $MESSAGES
|
||||
do
|
||||
|
||||
if [[ $i -le $prev ]]
|
||||
if [[ $i -ne $(( prev + 1 )) ]]
|
||||
then
|
||||
error=1
|
||||
echo "message mismatch: $i was after $prev."
|
||||
|
||||
Reference in New Issue
Block a user