-
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
server: TestBootstrapNewStore failed #47057
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
Milestone
Comments
cockroach-teamcity
added
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
labels
Apr 5, 2020
otan
added a commit
to otan-cockroach/cockroach
that referenced
this issue
Apr 6, 2020
In `beac4a53e0e2e2236eb5957f67abc1bf476ad1b6`, we introduced stopper.ShouldQuiesce() to the retry.Closer so that server shutdowns also shut down in-process retries to the temp schema cleaner. However, when stopper.ShouldQuiesce() is called, the error that gets wrapped in `errors.Wrap` is nil (as ctx.Err() is nil), and as such we return with no error set. This causes potentially bugs afterwards as users of the functions expected errors when this happens and not to continue silently. This PR bridges that gap by always wrapping an error around cases where WithMaxAttempt is aborted by a context attempt. Resolves cockroachdb#47057. Release note: None.
craig bot
pushed a commit
that referenced
this issue
Apr 6, 2020
47053: sql: add telemetry for statement diagnostics r=RaduBerinde a=RaduBerinde Add two telemetry counters for statement diagnostics - one when triggered via the UI, one for EXPLAIN ANALYZE (DEBUG). Release note: None 47056: workload/schemachange: create new table 90% of the time r=spaskob a=spaskob Release note (bug fix): we were using an existing table name 100% of the time when creating a new table which resulted in no tables created. 47063: retry: fix retry.WithMaxAttempt to deal with opt.Closer properly r=knz a=otan In `beac4a53e0e2e2236eb5957f67abc1bf476ad1b6`, we introduced stopper.ShouldQuiesce() to the retry.Closer so that server shutdowns also shut down in-process retries to the temp schema cleaner. However, when stopper.ShouldQuiesce() is called, the error that gets wrapped in `errors.Wrap` is nil (as ctx.Err() is nil), and as such we return with no error set. This causes potentially bugs afterwards as users of the functions expected errors when this happens and not to continue silently. This PR bridges that gap by always wrapping an error around cases where WithMaxAttempt is aborted by a context attempt. Resolves #47057. Release note: None. Co-authored-by: Radu Berinde <[email protected]> Co-authored-by: Spas Bojanov <[email protected]> Co-authored-by: Oliver Tan <[email protected]>
otan
added a commit
to otan-cockroach/cockroach
that referenced
this issue
Apr 6, 2020
In `beac4a53e0e2e2236eb5957f67abc1bf476ad1b6`, we introduced stopper.ShouldQuiesce() to the retry.Closer so that server shutdowns also shut down in-process retries to the temp schema cleaner. However, when stopper.ShouldQuiesce() is called, the error that gets wrapped in `errors.Wrap` is nil (as ctx.Err() is nil), and as such we return with no error set. This causes potentially bugs afterwards as users of the functions expected errors when this happens and not to continue silently. This PR bridges that gap by always wrapping an error around cases where WithMaxAttempt is aborted by a context attempt. Resolves cockroachdb#47057. Release note: None.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
(server).TestBootstrapNewStore failed on master@beac4a53e0e2e2236eb5957f67abc1bf476ad1b6:
Fatal error:
Stack:
Log preceding fatal error
More
Parameters:
See this test on roachdash
powered by pkg/cmd/internal/issues
The text was updated successfully, but these errors were encountered: