[
https://issues.apache.org/jira/browse/HBASE-22235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817218#comment-16817218
]
Duo Zhang commented on HBASE-22235:
-----------------------------------
Since it is immutable and can be retrieved by calling methods in the Region
interface which is visible to CPs, I think it is fine to also make it visible
to CPs.
> OperationStatus.{SUCCESS|FAILURE|NOT_RUN} are not visible to 3rd party
> coprocessors
> -----------------------------------------------------------------------------------
>
> Key: HBASE-22235
> URL: https://issues.apache.org/jira/browse/HBASE-22235
> Project: HBase
> Issue Type: Bug
> Components: Coprocessors
> Reporter: Lars Hofhansl
> Priority: Major
>
> preBatchMutate is useless for some operation due to this.
> See also TEPHRA-299. This looks like an oversight.
> MiniBatchOperationInProgress has limited visibility for coprocessors.
> OperationStatus and OperationStatusCode should have the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)