-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: temporary schema code causes slowdown in tests #47047
Labels
S-3-productivity
Severe issues that impede the productivity of CockroachDB developers.
Comments
RaduBerinde
added
the
S-3-productivity
Severe issues that impede the productivity of CockroachDB developers.
label
Apr 5, 2020
otan
added a commit
to otan-cockroach/cockroach
that referenced
this issue
Apr 5, 2020
…aner Resolves cockroachdb#47047. This fixes a bug where the temporary object cleaner can hang during object shutdown by not obeying stopper.ShouldQuiesce(). I've run `TestChartCatalogGen` 10 times and confirmed it all takes the same amount of time. Release note: None
thought i wonder if it's #47011 |
Ah, yeah, looks like the same thing. |
craig bot
pushed a commit
that referenced
this issue
Apr 5, 2020
47048: sql: pass stopper.ShouldQuiesce() to retryFunc for TemporaryObjectCleaner r=RaduBerinde a=otan Resolves #47047. This fixes a bug where the temporary object cleaner can hang during object shutdown by not obeying stopper.ShouldQuiesce(). I've run `TestChartCatalogGen` 10 times and confirmed it all takes the same amount of time. Release note: None Co-authored-by: Oliver Tan <[email protected]>
otan
added a commit
to otan-cockroach/cockroach
that referenced
this issue
Apr 6, 2020
…aner Resolves cockroachdb#47047. This fixes a bug where the temporary object cleaner can hang during object shutdown by not obeying stopper.ShouldQuiesce(). I've run `TestChartCatalogGen` 10 times and confirmed it all takes the same amount of time. Release note: None
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed various simple tests (like
TestChartCatalogGen
) occasionally taking ~15 seconds. The logs suggest that we are waiting to stop the server and the temporary schema code keeps retrying:This happens frequently enough that when running tests for a big package, a handful of tests hit this, with a big impact in the overall test time.
Perhaps we should be checking
stopper.ShouldQuiesce()
before retrying.The text was updated successfully, but these errors were encountered: