cockroachdb / cockroachdb/cockroach
workload/tpcc: failed to initialize the load generator
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Describe the problem**
It looks like many roachtests failed in this [nightly run](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyGceBazel/9329887?showRootCauses=true&expandBuildTestsSection=true&expandBuildChangesSection=true) due to this error while initializing the tpcc workload:
```
Error: failed to initialize the load generator: context deadline exceeded
```
I suspect that [this change](https://github.com/cockroachdb/cockroach/commit/bba0bde1fbe620808789ec105c0990d0e40643cc#diff-5bb50b40bd3d483a04ceb537c2ea6cf8779e087c6740d99376ae9caa7ca738da) which limits the number of tpcc connections is the culprit.
Jira issue: CRDB-26272
Contributor guide
Research direction
Start by reviewing the linked nightly roachtest run and the change that limits the number of TPC-C connections. Reproduce the load-generator initialization timeout and determine whether the connection limit causes it; done means the affected roachtests initialize and complete without the context deadline exceeded error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100