Skip to content

Fix the order of loading properties to properly support the --workload-params setting#39

Merged
epugh merged 2 commits into
apache:mainfrom
epugh:fix_override_precedence
May 28, 2026
Merged

Fix the order of loading properties to properly support the --workload-params setting#39
epugh merged 2 commits into
apache:mainfrom
epugh:fix_override_precedence

Conversation

@epugh
Copy link
Copy Markdown
Contributor

@epugh epugh commented May 28, 2026

Description

The operation template nyc-taxies egitimately specifies num-shards, but the param source unconditionally overrides operation-level params with the baked-in Collection defaults. That precedence is backwards — if an operation explicitly sets a field, that should win.

Issues Resolved

Closes #38

Testing

  • [ x] New functionality includes testing

Plus manual.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@epugh
Copy link
Copy Markdown
Contributor Author

epugh commented May 28, 2026

Now look at it!
image

Copy link
Copy Markdown
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@epugh epugh merged commit 7127005 into apache:main May 28, 2026
5 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.

[Bug]: --workload-params not working

2 participants