Skip to content

Distribute workloads by config during execution#71

Merged
HanzhouTang merged 1 commit into
dsqlfrom
fix-issue-70
Jan 28, 2026
Merged

Distribute workloads by config during execution#71
HanzhouTang merged 1 commit into
dsqlfrom
fix-issue-70

Conversation

@HanzhouTang
Copy link
Copy Markdown
Collaborator

This PR fixes the workload distribution logic to respect configuration settings during execution. Also adds unit test.

Fixes #70

Issue #, if available: #70

Description of changes:

Fix warehouse distribution to read startWarehouseIndex, endWarehouseIndex, and stride from config instead of using hardcoded values. This enables distributed benchmarking across multiple instances.

Also adds unit tests to verify stride-based distribution and prevent regression.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@HanzhouTang HanzhouTang enabled auto-merge January 28, 2026 08:15
Comment thread src/main/java/com/oltpbenchmark/benchmarks/tpcc/TPCCBenchmark.java Outdated
This PR fixes the workload distribution logic to respect configuration
settings during execution. Also adds unit test.

Fixes #70
@HanzhouTang HanzhouTang merged commit 473e776 into dsql Jan 28, 2026
9 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: --startWarehouseIndex, --endWarehouseIndex and --stride parameters are ignored during distributed benchmark execution

2 participants