Skip to content

Commit

Permalink
parameterize index.translog.durability in big5 workload (#533)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Oviedo <[email protected]>
(cherry picked from commit de3bc25)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jan 8, 2025
1 parent cf10fe7 commit 0598b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions big5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ This workload allows the following parameters to be specified using `--workload-
* `test_iterations` (default: 200): Number of test iterations per query that will have their latency and throughput measured.
* `target_throughput` (default: 2): Target throughput for each query operation in requests per second, use 0 or "" for no throughput throttling.
* `warmup_iterations` (default: 100): Number of warmup query iterations prior to actual measurements commencing.
* `index_translog_durability` (default: "async"): Controls the transaction log flush behavior. "request" flushes after every operation to avoid data loss, while "async" batches changes for efficiency.

NOTE: If disabling `target_throughput`, know that `target_throughput:""` is snynonymous with `target_throughput:0`.

Expand Down
2 changes: 1 addition & 1 deletion big5/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}
"index.codec": "best_compression",
"index.translog.sync_interval": "30s",
"index.translog.durability": "async",
"index.translog.durability": {{index_translog_durability | default("async") | tojson}},
"index.query.default_field": [
"message"
]
Expand Down

0 comments on commit 0598b90

Please sign in to comment.