Commit b110517c authored by Daniel Seybold's avatar Daniel Seybold

applied bugfix to set also 0 YCSB read/update/write/scan proportions correctly

parent 92607288
Pipeline #56771 passed with stage
in 11 minutes and 31 seconds
......@@ -299,21 +299,15 @@ public class YCSBCommandBuilder {
}
if (workloadConfig.getReadProportion() > 0.0){
workloadCommand += " -p readproportion=" + workloadConfig.getReadProportion();
}
if (workloadConfig.getUpdateProportion() > 0.0){
workloadCommand += " -p updateproportion=" + workloadConfig.getUpdateProportion();
}
workloadCommand += " -p readproportion=" + workloadConfig.getReadProportion();
if (workloadConfig.getInsertProportion() > 0.0){
workloadCommand += " -p insertproportion=" + workloadConfig.getInsertProportion();
}
workloadCommand += " -p updateproportion=" + workloadConfig.getUpdateProportion();
workloadCommand += " -p insertproportion=" + workloadConfig.getInsertProportion();
workloadCommand += " -p scanproportion=" + workloadConfig.getScanProportion();
if (workloadConfig.getScanProportion() > 0.0){
workloadCommand += " -p scanproportion=" + workloadConfig.getScanProportion();
}
if (workloadConfig.getMaxScanLength() > 0){
workloadCommand += " -p maxscanlength=" + workloadConfig.getMaxScanLength();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment