public class TestDefaultMemStore
extends TestCase
| Constructor and Description |
|---|
TestDefaultMemStore() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
setUp() |
void |
testGet_memstoreAndSnapShot() |
void |
testGetNextRow()
Test getNextRow from memstore
|
void |
testGetWithDelete() |
void |
testGetWithDeleteColumn() |
void |
testGetWithDeleteFamily() |
void |
testKeepDeleteInmemstore() |
void |
testMemstoreConcurrentControl() |
void |
testMemstoreDeletesVisibilityWithSameKey()
When we insert a higher-memstoreTS deletion of a cell but with
the same timestamp, we still need to provide consistent reads
for the same scanner.
|
void |
testMemstoreEditsVisibilityWithSameKey()
Regression test for HBASE-2616, HBASE-2670.
|
void |
testMultipleTimestamps()
Test to ensure correctness when using Memstore with multiple timestamps
|
void |
testMultipleVersionsSimple() |
void |
testPutSameKey() |
void |
testReadOwnWritesUnderConcurrency() |
void |
testRetainsDeleteColumn() |
void |
testRetainsDeleteFamily() |
void |
testRetainsDeleteVersion() |
void |
testScanAcrossSnapshot()
Test memstore snapshot happening while scanning.
|
void |
testScanAcrossSnapshot2()
A simple test which verifies the 3 possible states when scanning across snapshot.
|
void |
testShouldFlush()
Tests the HRegion.shouldFlush method - adds an edit in the memstore
and checks that shouldFlush returns true, and another where it disables
the periodic flush functionality and tests whether shouldFlush returns
false.
|
void |
testShouldFlushMeta() |
void |
testSnapshotting()
Test memstore snapshots
|
void |
testUpdateToTimeOfOldestEdit()
Tests that the timeOfOldestEdit is updated correctly for the
various edit operations in memstore.
|
void |
testUpsertMemstoreSize()
Add keyvalues with a fixed memstoreTs, and checks that memstore size is decreased
as older keyvalues are deleted from the memstore.
|
void |
testUpsertMSLAB()
Test a pathological pattern that shows why we can't currently
use the MSLAB for upsert workloads.
|
public void testPutSameKey()
public void testScanAcrossSnapshot()
throws IOException
IOExceptionpublic void testScanAcrossSnapshot2()
throws IOException,
CloneNotSupportedException
public void testMemstoreConcurrentControl()
throws IOException
IOExceptionpublic void testMemstoreEditsVisibilityWithSameKey()
throws IOException
IOExceptionpublic void testMemstoreDeletesVisibilityWithSameKey()
throws IOException
IOExceptionpublic void testReadOwnWritesUnderConcurrency()
throws Throwable
Throwablepublic void testSnapshotting()
throws IOException
IOExceptionpublic void testMultipleVersionsSimple()
throws Exception
Exceptionpublic void testGetNextRow()
throws Exception
InterruptedExceptionExceptionpublic void testGet_memstoreAndSnapShot()
throws IOException
IOExceptionpublic void testGetWithDelete()
throws IOException
IOExceptionpublic void testGetWithDeleteColumn()
throws IOException
IOExceptionpublic void testGetWithDeleteFamily()
throws IOException
IOExceptionpublic void testKeepDeleteInmemstore()
public void testRetainsDeleteVersion()
throws IOException
IOExceptionpublic void testRetainsDeleteColumn()
throws IOException
IOExceptionpublic void testRetainsDeleteFamily()
throws IOException
IOExceptionpublic void testMultipleTimestamps()
throws IOException
IOExceptionpublic void testUpsertMSLAB()
throws Exception
Exceptionpublic void testUpsertMemstoreSize()
throws Exception
Exceptionpublic void testUpdateToTimeOfOldestEdit()
throws Exception
Exceptionpublic void testShouldFlush()
throws Exception
Exceptionpublic static void main(String[] args) throws IOException
IOException