-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
storage: package timed out under stress #37954
Comments
A stopper is stuck quiescing
Must be this, it's the only task in the whole stack trace
So it's this code cockroach/pkg/storage/store.go Lines 1613 to 1619 in 009f70a
Hmm, there's code that shuts down the provider by calling cockroach/pkg/storage/closedts/provider/provider.go Lines 94 to 101 in 7037b54
You'd think it wouldn't do that for 40 minutes, it should be done eventually.
Hmm I see what this is. This is a rare situation because the subscription is actually blocking on the channel (it's buffered, so it doesn't usually fill up). It's not realizing that the stopper is draining (which implies that the provider is draining) because that needs a bool check. Well, in this case, it seems that the problem is that the consumer just left without giving notice. I'll send a PR. |
See cockroachdb#37954 (comment). Closes cockroachdb#37954. Release note: None
37986: storage: avoid deadlock on (*Stopper).Quiesce r=nvanbenschoten a=tbg See #37954 (comment). Closes #37954. Release note: None Co-authored-by: Tobias Schottdorf <[email protected]>
SHA: https://github.com/cockroachdb/cockroach/commits/83e62d69214aaa0f7b976f764b97b0e21a41cde3
Parameters:
To repro, try:
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1318089&tab=buildLog
The text was updated successfully, but these errors were encountered: