-
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: logic test can throw nil-pointer #88398
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Comments
@msirek are you planning to work on this? If not, please unassigned yourself. thanks! |
@rytaft Thanks for bringing this to my attention. I've opened a PR. |
craig bot
pushed a commit
that referenced
this issue
Oct 27, 2022
90780: rttanalysis: add benchmark for hasura's introspection query r=rafiss a=rafiss informs #88885 This query exposes an issue with how we construct filters for certain types of joins. It can be used to verify future enhancements. Release note: None 90788: kvserver: improve help text for `admission.io.overload` r=irfansharif a=irfansharif Since this is text that's available in any running binary (`SHOW ALL CLUSTER SETTINGS`), we shouldn't expect readers to have the source code checked out, which makes our referencing of specific file names less than useful. See #87656 (review). Release note: None Release justification: No behavioural change, only changing user-visible help text. 90792: ui: address an old TODO r=yuzefovich a=yuzefovich This commit addresses an old TODO to simplify the check for when we warn about full scans. Epic: None Release note: None 90802: logictest: check for nil SystemConfig before purging zone config cache r=yuzefovich a=msirek Fixes #88398 This fixes a panic which can occur duing cluster startup in a logic test or during retry of a test case in a logic test when an attempt is made to purge the zone config cache and no SystemConfig is available. Release note: None 90804: release: S3 redirects should use abs path r=celiala a=rail Previously, S3 "latest" redirects used relative path, while the AWS API expects the redirects to start with "/", "http://", or "https://". This patch adds a slash to the key name for all redirect calls. The GCS implementation already strips the leading slash and should handle it properly. Release note: None Epic: None Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: irfan sharif <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Mark Sirek <[email protected]> Co-authored-by: Rail Aliiev <[email protected]>
msirek
pushed a commit
to msirek/cockroach
that referenced
this issue
Jun 29, 2023
Fixes cockroachdb#88398 This fixes a panic which can occur duing cluster startup in a logic test or during retry of a test case in a logic test when an attempt is made to purge the zone config cache and no SystemConfig is available. Release note: None
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Describe the problem
There was a test failure in the CI build for #88333 that looked like this:
The problem is likely that
SystemConfig.PurgeZoneConfigCache
is called unconditionally on the result ofSystemConfigProvider.GetSystemConfig
, even though the result ofGetSystemConfig
can be nil.Expected behavior
Either the nil-receiver case should be handled, or
PurgeZoneConfigCache
shouldn't be called whenSystemConfig
is nil.Additional context
This panic should be testing-only, since it's only called in TestCluster and TestLogic.
Jira issue: CRDB-19801
The text was updated successfully, but these errors were encountered: