activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Zeng <>
Subject bug in
Date Mon, 26 Nov 2007 06:53:43 GMT

I found there is an bug in write method in the。When I
used IndexTypes.DISK_INDEX. If we add some data in MapContainer, then we
delete the last we added and add one.The index will be looped.The reason is
the inconsistence of index between memory and file. Imagine we add 'A', 'B',
'C' the three elements in the MapContainer, the the last element is 'C',
when we delete 'C', In memory the next info in the index of 'B'  points to
'C', and in file, it points to "-1". Then we add an new element "D". Then
D's next is point to itself.
View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message