table attributes and partition attributes do not consider keyspace (codec v2)
Open
component/ddl
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
may-affects-8.5
severity/major
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
start tidb with keyspace
create table and add attributes
### 2. What did you expect to see? (Required)
label rule should be encoded with keyspace id , and key range in label rules should also encoded with keyspace p refix.
### 3. What did you see instead (Required)
rule is does not contain keyspace id which means rules from different keyspaces may overwrite each other.
keyrange in rule is wrong.
### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.