-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
internal error about index #100681
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
cc @cockroachdb/sql-schema |
This is a flaw in our truncate implementation we should be rewriting DependedOnBy entries within the table. The cases which are vulnerable have to use specific index hints like the one used in the reproduction case. The right thing to do here is to rewrite the dependencies within the table when recreating the indexes. @DerZc Good find! |
Yeah, this is a dup of #85230 |
So sorry about this, I will ckeck it more carefully |
No worries! Please feel free to not spend much time looking for duplicates, and we'll triage the issue accordingly. |
Describe the problem
The following program triggers an internal error:
This is the error message:
I build cockroach from the last commit in github repo (ff2c4a3), but this bug can reproduce with the last release version v22.2.7.
I run cockroach in a single machine, and execute the query with CLI cockroach sql --echo-sql --insecure --port 26257 --user root < database4.sql
Expected behavior
No error.
Environment:
Jira issue: CRDB-26552
The text was updated successfully, but these errors were encountered: