[
https://issues.apache.org/jira/browse/HBASE-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197537#comment-13197537
]
Zhihong Yu commented on HBASE-5304:
-----------------------------------
Since there is a chance that SplitKeyPolicy may decide not to split, I think
the following code should be prepared:
{code}
+ SplitTransaction st = new SplitTransaction(parent, parent
+ .getSplitKeyPolicy().getSplitKey(parent, midKey));
{code}
Meaning, we should check whether a SplitTransaction is needed.
> Pluggable split key policy
> --------------------------
>
> Key: HBASE-5304
> URL: https://issues.apache.org/jira/browse/HBASE-5304
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Fix For: 0.94.0
>
> Attachments: 5304.txt
>
>
> We need a way to specify custom policies to determine split keys.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira