Skip to content
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

[DocDB] Table name is not set properly in the super block of the colocated clone tablet #25481

Open
1 task done
yamen-haddad opened this issue Jan 3, 2025 · 0 comments
Open
1 task done
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@yamen-haddad
Copy link
Member

yamen-haddad commented Jan 3, 2025

Jira Link: DB-14731

Description

When cloning a colocated database, the target tablet of the clone operation has the wrong parent table name in its super block. For example, if the primary table id of the target clone tablet is 00004002000030008000000000004003.colocation.parent.uuid, currently, the table name will be 00004000000030008000000000004003.colocation.parent.tablename Which is wrong "Notice the 00004000 vs 00004002".
The problem comes from the fact that the tserver uses the table name from the source tablet as the name of the table of the target clone tablet. This works well for the user tables (colocated or not) as both source and target tables have the same name. However, this doesn't work for the parent table of the colocated database as the table name is derived directly from the table id and thus is not the same in source vs target.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants