-
Notifications
You must be signed in to change notification settings - Fork 131
The steprun feature not working as expected. #782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OK, I can reproduce the issue with SQL Server on Windows as well on v5.0, so although it is sending the correct duration to the replicas they are overrunning as it looks like they are using the primary time. Will investigate further to provide a fix. |
The cause of this issue was that the replicas were running in standard replica mode which meant their respective monitors would disconnect immediately and not complete the timings. The solution is to run the replicas for steprun as a special case in Local mode and then they will time and disconnect. Example below showing that the step effect is working and in the listing that the replicas complete and disconnect before the primary.
|
Uh oh!
There was an error while loading. Please reload this page.
Guidance
Bug reports are for when HammerDB is not behaving as expected.
Bug reports should not be submitted for help in understanding database performance related questions.
General questions on database performance or HammerDB usability should be submitted under Discussions.
Describe the bug
When using the steprun function to create a pyramid shape run, e.g. scale up users then scale down users in a stepped manor. The replicas ignore the duration setting and run until the primary finishes.
To Reproduce
Create a steps.xml file where each step has a start_after + duration time of less than the total duration.
Then execute the steprun:
The replicas will start the specified number of vu, at the specified delayed time, but they will run until the primary is finished.
Expected behavior
I expect the VUs running on the replicas to stop after the duration defined in the steps.xml file.
Screenshots
CLI only
HammerDB Version (please complete the following information):
HammerDB Interface (please complete the following information):
Operating System (please complete the following information):
Database Server (please complete the following information):
Database Client (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: