HBASE-2787 PE is confused about flushCommits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7cf8cfd08
commit
41a8d9ab2b
|
@ -422,6 +422,7 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-2774 Spin in ReadWriteConsistencyControl eating CPU (load > 40) and
|
HBASE-2774 Spin in ReadWriteConsistencyControl eating CPU (load > 40) and
|
||||||
no progress running YCSB on clean cluster startup
|
no progress running YCSB on clean cluster startup
|
||||||
HBASE-2785 TestScannerTimeout.test2772 is flaky
|
HBASE-2785 TestScannerTimeout.test2772 is flaky
|
||||||
|
HBASE-2787 PE is confused about flushCommits
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1760 Cleanup TODOs in HTable
|
HBASE-1760 Cleanup TODOs in HTable
|
||||||
|
|
|
@ -118,7 +118,7 @@ public class PerformanceEvaluation {
|
||||||
private boolean nomapred = false;
|
private boolean nomapred = false;
|
||||||
private int N = 1;
|
private int N = 1;
|
||||||
private int R = ROWS_PER_GB;
|
private int R = ROWS_PER_GB;
|
||||||
private boolean flushCommits = false;
|
private boolean flushCommits = true;
|
||||||
private boolean writeToWAL = true;
|
private boolean writeToWAL = true;
|
||||||
|
|
||||||
private static final Path PERF_EVAL_DIR = new Path("performance_evaluation");
|
private static final Path PERF_EVAL_DIR = new Path("performance_evaluation");
|
||||||
|
@ -1250,7 +1250,7 @@ public class PerformanceEvaluation {
|
||||||
|
|
||||||
final String writeToWAL = "--writeToWAL=";
|
final String writeToWAL = "--writeToWAL=";
|
||||||
if (cmd.startsWith(writeToWAL)) {
|
if (cmd.startsWith(writeToWAL)) {
|
||||||
this.flushCommits = Boolean.parseBoolean(cmd.substring(writeToWAL.length()));
|
this.writeToWAL = Boolean.parseBoolean(cmd.substring(writeToWAL.length()));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue