]
Steven Hawkins resolved TEIID-4819.
-----------------------------------
Resolution: Done
Corrected to always perform the remove and simplified the addMemoryEntry call.
Tree page modifications removing the previous page, don't remove
immediately
----------------------------------------------------------------------------
Key: TEIID-4819
URL:
https://issues.jboss.org/browse/TEIID-4819
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.9, 8.7.6.6_2
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 9.3, 9.1.5, 9.2.2
TEIID-3119 introduced logic to reuse the existing cacheentry, but the removal of the old
entry was based upon the wrong remove method - just a remove from cache and not memory.
That would delay the cleanup of the memory reference until eviction or when the
buffer/tree is removed.