mirror of https://github.com/apache/activemq.git
fix AMQ-1962, reset or cursor as a result of empty subscription list was incorrectly setting store size to 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@701072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8469d75f38
commit
6dbd5d19cc
|
@ -194,7 +194,7 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
|
||||||
batchList.clear();
|
batchList.clear();
|
||||||
batchResetNeeded = true;
|
batchResetNeeded = true;
|
||||||
this.cacheEnabled=false;
|
this.cacheEnabled=false;
|
||||||
size=0;
|
size = getStoreSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final synchronized void fillBatch() {
|
protected final synchronized void fillBatch() {
|
||||||
|
|
Loading…
Reference in New Issue