You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2025/07/02 04:07:00 UTC
[jira] [Created] (HDDS-13362) Test to ensure the OM cache entries are cleaned up
Ivan Andika created HDDS-13362:
----------------------------------
Summary: Test to ensure the OM cache entries are cleaned up
Key: HDDS-13362
URL: https://issues.apache.org/jira/browse/HDDS-13362
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Ivan Andika
Assignee: Ivan Andika
We need to add tests to ensure that all the OM cache added by the OM request will be cleaned up later by the OzoneManagerDoubleBuffer which detected the cache by using @CleanupTableInfo annotation. This is to prevent memory leak due to uncollected epoch.
Additionally, we need to ensure that no abstract OM response class should have CleanupTableInfo.
Ideally, CleanupTableInfo should be built by checking the OMClientRequest#validateAndUpdateCache implementation for any cache update, instead of hardcoding CleanupTableInfo in the OM response, which is very prone to human error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org