[
https://issues.jboss.org/browse/TEIID-5059?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-5059.
-----------------------------------
Resolution: Done
Updated the touch logic so that the item is always en queued. This highlighted several
places in the temptable/stree logic that relied upon referencing the values coming from a
non-evicted batch. Also added defensive logic to the buffermanager cleaner and more
assertions to catch situations like these in development.
CacheEntry memory leak due to issues with touch method
------------------------------------------------------
Key: TEIID-5059
URL:
https://issues.jboss.org/browse/TEIID-5059
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Blocker
Fix For: 10.0, 8.12.x-6.4, 9.2.6, 9.3.3
CacheEntry instances that are in the memory entries end up not in the eviction queue in
specific circumstances with when the touch method is called - the batch needs to be
already persisted resident and be accessed within the min tick interval after being
removed from the eviction queue. Typically that usage pattern only occurs with temporary
tables.
Defensive code will be added to the buffermanager cleaner to check if memory entries are
being accumulated as well.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)