ARTEMIS-2187 remove page from softcache before consumedpage
This commit is contained in:
parent
a04f8053b4
commit
5ea72022a1
|
@ -473,11 +473,10 @@ public class PageCursorProviderImpl implements PageCursorProvider {
|
|||
}
|
||||
|
||||
depagedPage.delete(pgdMessages);
|
||||
onDeletePage(depagedPage);
|
||||
|
||||
synchronized (softCache) {
|
||||
softCache.remove((long) depagedPage.getPageId());
|
||||
}
|
||||
onDeletePage(depagedPage);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ActiveMQServerLogger.LOGGER.problemCleaningPageAddress(ex, pagingStore.getAddress());
|
||||
|
|
Loading…
Reference in New Issue