Skip to content

chore: drop deprecated batchLinger from oxia driver configs - #28

Merged
merlimat merged 2 commits into
mainfrom
feat-oxia-config
Jul 2, 2026
Merged

chore: drop deprecated batchLinger from oxia driver configs#28
merlimat merged 2 commits into
mainfrom
feat-oxia-config

Conversation

@merlimat

@merlimat merlimat commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What

Remove the deprecated batchLinger key from every oxia driver config (the six values-*.yaml, the four comparison/oxia*.yaml, and conf/driver-oxia.yaml).

Why

batchLinger is deprecated in the oxia client, and OxiaDriver.init() never applied it in the first place — it only maps namespace and batchMaxCount (→ maxRequestsPerBatch). So the key was dead config that misleadingly implied it was tuning the client. No behavior change: the client keeps using its default linger (5ms), exactly as before.

merlimat added 2 commits July 2, 2026 15:17
The oxia client's batchLinger option is deprecated, and OxiaDriver never
applied it anyway (init() only wires up namespace and batchMaxCount), so the
key was silently ignored. Remove it from every oxia driver config. No behavior
change — the client already used its default linger.

Signed-off-by: Matteo Merli <mmerli@apache.org>
100000 only inflates latency (~5s) without raising throughput — the ~20k/s
ceiling is workload-bound (10M distinct keys), not in-flight-bound. Keep the
example at 10000 so this PR is a pure batchLinger cleanup.

Signed-off-by: Matteo Merli <mmerli@apache.org>
@merlimat
merlimat merged commit 4d34fc4 into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant