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

Yutong Xiao updated HBASE-26688:
--------------------------------
    Description: Currently, we use a pre-created EMPTY_RESULT in the 
ProtoBuf.util to reduce the object creation. But these objects could be shared 
by multi client threads. The Result#cellScannerIndex related methods could 
throw confusing exception and make the client job down. Could refine the logic 
of these methods.

> Result#advance, current are not thread safe. But the pre-created EMPTY_RESULT 
> like objects can be shared by multi client threads.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-26688
>                 URL: https://issues.apache.org/jira/browse/HBASE-26688
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yutong Xiao
>            Assignee: Yutong Xiao
>            Priority: Major
>
> Currently, we use a pre-created EMPTY_RESULT in the ProtoBuf.util to reduce 
> the object creation. But these objects could be shared by multi client 
> threads. The Result#cellScannerIndex related methods could throw confusing 
> exception and make the client job down. Could refine the logic of these 
> methods.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to