[DocDB] Table name is not set properly in the super block of the colocated clone tablet #25481
Open
1 task done
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
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 be00004000000030008000000000004003.colocation.parent.tablename
Which is wrong "Notice the00004000
vs00004002
".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
The text was updated successfully, but these errors were encountered: