public class TestRegionMergeTransaction extends Object
RegionMergeTransactionImpl class against two HRegions (as
opposed to running cluster).| Constructor and Description |
|---|
TestRegionMergeTransaction() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testFailAfterPONR() |
void |
testMeregedRegionBoundary() |
void |
testPrepare()
Test straight prepare works.
|
void |
testPrepareWithClosedRegion() |
void |
testPrepareWithRegionsNotAdjacent()
Test merging two not adjacent regions under a common merge
|
void |
testPrepareWithRegionsNotAdjacentUnderCompulsory()
Test merging two not adjacent regions under a compulsory merge
|
void |
testPrepareWithRegionsWithMergeReference()
Test merging regions which are merged regions and has reference in hbase:meta all
the same
|
void |
testPrepareWithRegionsWithReference()
Pass a reference store
|
void |
testPrepareWithSameRegion()
Test merging the same region
|
void |
testRollback() |
void |
testWholesomeMerge() |
public void setup()
throws IOException
IOExceptionpublic void teardown()
throws IOException
IOExceptionpublic void testPrepare()
throws IOException
IOExceptionpublic void testPrepareWithSameRegion()
throws IOException
IOExceptionpublic void testPrepareWithRegionsNotAdjacent()
throws IOException
IOExceptionpublic void testPrepareWithRegionsNotAdjacentUnderCompulsory()
throws IOException
IOExceptionpublic void testPrepareWithRegionsWithReference()
throws IOException
IOExceptionpublic void testPrepareWithClosedRegion()
throws IOException
IOExceptionpublic void testPrepareWithRegionsWithMergeReference()
throws IOException
IOExceptionpublic void testWholesomeMerge()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testRollback()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testFailAfterPONR()
throws IOException,
KeeperException,
InterruptedException
IOExceptionKeeperExceptionInterruptedExceptionpublic void testMeregedRegionBoundary()