From a7c2a3e1591fcf014c303cc2b541ec7db625e104 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 8 Jan 2025 18:06:52 +0000 Subject: [PATCH] parameterize index.translog.durability in big5 workload (#533) Signed-off-by: Michael Oviedo (cherry picked from commit de3bc251d86b43cbefaedd71ad7aedd9ddcb7478) Signed-off-by: github-actions[bot] --- big5/README.md | 1 + big5/index.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/big5/README.md b/big5/README.md index 2029b052..b3f540ec 100755 --- a/big5/README.md +++ b/big5/README.md @@ -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`. diff --git a/big5/index.json b/big5/index.json index de1cf3fb..60806007 100644 --- a/big5/index.json +++ b/big5/index.json @@ -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" ]