Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
W
workload-API
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mowgli
workload-API
Commits
b110517c
Commit
b110517c
authored
Sep 11, 2019
by
Daniel Seybold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
src/main/java/de/uulm/omi/workload/ycsb/YCSBCommandBuilder.java
...in/java/de/uulm/omi/workload/ycsb/YCSBCommandBuilder.java
+6
-12
No files found.
src/main/java/de/uulm/omi/workload/ycsb/YCSBCommandBuilder.java
View file @
b110517c
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment