Commit 9de4d01
Merge #151447
151447: colexecerror: improve BenchmarkSQLCatchVectorizedRuntimeError r=yuzefovich a=yuzefovich
Previously, this benchmark when run with `conns=50` parameter would often hit errors seemingly due to port exhaustion. This was the case since the benchmark opens a ton of connections, but they would only be closed on the server shutdown. This commit fixes that issue by explicitly closing the connection from each worker goroutine once the worker is done with it.
Additionally, it reduces the conns parameters from 20 and 50 to 8 and 32 in order to speed up the benchmark overall (total time on gceworker went down from 375s to 231s).
Fixes: #124021.
Fixes: #151297.
Release note: None
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
0 commit comments