Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest/tpcc: reduce load during rebalance period
Relates to #58298. One thing I've noticed when looking into #58298 is that we were often badly overloading the cluster during the rebalance wait period. During this time, we just want to apply a small amount of load to help instruct load-based splitting and rebalancing. But in some cases, we were completely overloading the cluster. We also weren't ramping up the load, as we had intended to. This commit fixes both of these issues. It adds a ramp period for the first quarter of the rebalance time and it scales the txn rate based on the expected max warehouse count instead of the loaded warehouse count.
- Loading branch information