You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Tanuj Khurana (Jira)" <ji...@apache.org> on 2025/08/23 16:23:00 UTC

[jira] [Resolved] (PHOENIX-7612) Fix Cell references in IndexRegionObserver

     [ https://issues.apache.org/jira/browse/PHOENIX-7612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tanuj Khurana resolved PHOENIX-7612.
------------------------------------
    Fix Version/s: 5.3.0
       Resolution: Fixed

> Fix Cell references in IndexRegionObserver
> ------------------------------------------
>
>                 Key: PHOENIX-7612
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7612
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Tanuj Khurana
>            Assignee: Tanuj Khurana
>            Priority: Major
>             Fix For: 5.3.0
>
>
> IndexRegionObserver maintains an in memory state to correctly generate mutations for concurrent updates to the same row. These mutations hold references to cells which can be backed by off-heap memory. It is not safe to access these cells later as that memory can be reclaimed or reused. The copy constructor of the Mutation class doesn't copy the cells.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)