Skip to content

Executing modify column statement gets ErrNotOwner when the owner is changed #39643

Closed
@zimulala

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t1 (c1 int, c2 int, c3 int, index idx(c2));
alter table t1 change c2 c2 mediumint;

When executing modify column statement in the write-reorg state(handling backfill data or index), change DDL the owner

2. What did you expect to see? (Required)

Execute successfully.

3. What did you see instead (Required)

Get Error 8201: TiDB server is not a DDL owner.

4. What is your TiDB version? (Required)

Release Version: v6.5.0-alpha-271-g5127ad25b
Edition: Community
Git Commit Hash: 5127ad25b5e05ae550be148ffaa50c41b2348c80
Git Branch: master
UTC Build Time: 2022-12-05 13:42:19

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions