Open herkolategan opened 1 year ago
Looks like the issue is with these lines in makeSharedProcessTenantServerConfig
.
The status server GetFiles knows which directory the goroutine dumps are in from the sql server config's goroutinedumpdir.
That's set in makeSharedProcessTenantServerConfig
, but it looks like the non-empty value is overwritten.
First it's set to the kv server config's values here, and then ~10 lines later, it's set to empty string here.
As for which one is correct, it looks like the first link was added more recently in this commit specifically to fix this scenario, but perhaps it missed deleting the second set of lines. I'm hesitant to say it was missed off the bat though, and I'm sure there may be reasons as to why we need to set those dirs to the empty string, so we should see if anything else breaks when deleting those lines.
Describe the problem
When running the test with a shared process virtual cluster:
How to reproduce
Set the following in
TestServerArgs
to force a shared process tenant and cause the failure to happen.Expected behavior The test should pass when running with a shared process virtual cluster, unless after investigation the test is expected not to work with one.
Ref: https://github.com/cockroachdb/cockroach/issues/112857 Epic CRDB-38970
Jira issue: CRDB-32693