-
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
Core changefeed: unknown ParentID #51983
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 otan. |
Thank for filing this issue! Did you by any chance delete any databases, ie by using |
I actually imported a current database dump under a different name and then imported the new data into the existing one Like this:
I dropped the temp-Database after that.
|
I apologize the correct query to run is |
Ah, thank you! Here is the output:
|
Thank you, I will need some more data to determine what is going on, please post the result of here |
I created ticket https://support.cockroachlabs.com/hc/en-us/requests/5941. |
Thanks for the patience! It looks like you succeeded to upload the files. After investigating the conclusion is that you dropped a database that contained table The current corruption in the cluster will require a manual fix and I will post instructions shortly. |
cc @vy-ton |
Here are the steps for the fix:
-- must be done as root, cannot be done as any other user
INSERT INTO system.users VALUES ('node', NULL, true);
GRANT node TO root;
REVOKE node FROM root;
DELETE FROM system.users WHERE username = 'node'; |
Thank you! I was able to resolve the corruption. If someone has the same problem:
I just created another temp table (_crl_tmp_two) and ran the described steps again. |
@spaskob Can I safely delete the Databases _crl_tmp and _crl_tmp_two or should i wait for version 20.1.4? |
Yes, to be more cautious, delete the first one and after a few days the
second one.
Start with `DROP DATABASE _crl_tmp`.
…On Thu, Jul 30, 2020 at 11:15 PM Rene Kaufmann ***@***.***> wrote:
@spaskob <https://github.com/spaskob> Can I savely delete the Databases
_crl_tmp and _crl_tmp_two or should i wait for version 20.1.4?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#51983 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANL632O4PVYGIK4NQJJTOLR6HIHHANCNFSM4PKLP4GA>
.
|
Please send a new |
Done: See: #52422 |
Describe the problem
I imported a MySQL dump and then deleted some tables I didn't need.
After that everything worked fine.
Today I wanted to try core changefeeds and run into this error message:
To Reproduce
Sorry, I'm not quite sure.
Expected behavior
I thought I would see row level changes.
Additional data / screenshots
Environment:
CockroachDB version [v20.1.3]
Server OS: [Linux/Ubuntu 20.04 LTS]
Client app [cockroach sql]
The text was updated successfully, but these errors were encountered: