-
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
sql: race condition writing to ResolvableFunctionReference.FunctionReference
#90965
Comments
@chengxiong-ruan and @mgartner, this one is interesting. It reveals to me that we don't have a clear understanding of when it's safe to modify the AST. @jordanlewis maybe this is fallout from #86968 which assumed that it could safely look at an AST which is in fact, sadly, volatile? |
Argh, yes, that's exactly right. The AST should be completely immutable, but there are still a few pesky spots where we edit it - maybe ResolvableFunctionReference is the last one, though? See old places where we (I) have tripped on this: |
We might need to revert that PR, I'm not sure there's an easy fix |
And see this issue: #22847 :( |
Will deal with this by EOD one way or another. |
Yeah, the question of |
Describe the problem
See
in https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_BazelExtendedCi/7224947?showRootCauses=false&expandBuildChangesSection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true
Jira issue: CRDB-21045
The text was updated successfully, but these errors were encountered: