[ 
https://issues.apache.org/jira/browse/HBASE-11632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083101#comment-14083101
 ] 

Hudson commented on HBASE-11632:
--------------------------------

FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #407 (See 
[https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/407/])
HBASE-11632 Region split needs to clear force split flag at the end of 
SplitRequest run (Jerry He) (tedyu: rev 
f2fef2d39a8c69c56ed4ca9c0a52b86d7eb2d03a)
* hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStore.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitRequest.java


> Region split needs to clear force split flag at the end of SplitRequest run
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-11632
>                 URL: https://issues.apache.org/jira/browse/HBASE-11632
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.99.0, 0.98.4
>            Reporter: Jerry He
>            Assignee: Jerry He
>            Priority: Minor
>             Fix For: 0.99.0, 0.98.5, 2.0.0
>
>         Attachments: HBASE-11632-master-v2.patch, HBASE-11632-master.patch, 
> HBASE-11632-v2-0.98.patch
>
>
> force split flag is used when a user requests region split and specifies a 
> split key.
> {code}
> region.forceSplit(splitPoint);
> {code}
> We need to clear force split flag at the end of SplitRequest run. If the 
> region split is successful, this parent region will go away and there is no 
> need to clear this flag.  But we will have problem when the split is not 
> successful or rejected.  Here is the case:
> 1. User requested region split at rownkey-n.
> 2. We set forceSplit in the region with rownkey-n.
> 3. The split request got rejected because the region had references.
> 4. After a while, there was a system request split for the same region.
> 5. The region would use forceSplit and rownkey-n to split.  What should have 
> happened is that the region split is done based on system split policy.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to