HBASE-5659 TestAtomicOperation.testMultiRowMutationMultiThreads is still failing occasionally
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1364501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c48ac29ca9
commit
889e1136d4
|
@ -522,7 +522,7 @@ class StoreScanner extends NonLazyKeyValueScanner
|
|||
if (this.heap == null && this.lastTop != null) {
|
||||
resetScannerStack(this.lastTop);
|
||||
if (this.heap.peek() == null
|
||||
|| store.comparator.compare(this.lastTop, this.heap.peek()) != 0) {
|
||||
|| store.comparator.compareRows(this.lastTop, this.heap.peek()) != 0) {
|
||||
LOG.debug("Storescanner.peek() is changed where before = "
|
||||
+ this.lastTop.toString() + ",and after = " + this.heap.peek());
|
||||
this.lastTop = null;
|
||||
|
|
|
@ -255,7 +255,7 @@ public class TestAtomicOperation extends HBaseTestCase {
|
|||
LOG.info("Starting test testRowMutationMultiThreads");
|
||||
initHRegion(tableName, getName(), fam1);
|
||||
|
||||
// create 100 threads, each will alternate between adding and
|
||||
// create 10 threads, each will alternate between adding and
|
||||
// removing a column
|
||||
int numThreads = 10;
|
||||
int opsPerThread = 500;
|
||||
|
@ -339,10 +339,10 @@ public class TestAtomicOperation extends HBaseTestCase {
|
|||
LOG.info("Starting test testMultiRowMutationMultiThreads");
|
||||
initHRegion(tableName, getName(), fam1);
|
||||
|
||||
// create 100 threads, each will alternate between adding and
|
||||
// create 10 threads, each will alternate between adding and
|
||||
// removing a column
|
||||
int numThreads = 10;
|
||||
int opsPerThread = 1000;
|
||||
int opsPerThread = 500;
|
||||
AtomicOperation[] all = new AtomicOperation[numThreads];
|
||||
|
||||
AtomicLong timeStamps = new AtomicLong(0);
|
||||
|
|
Loading…
Reference in New Issue