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

Implement the "add index" handle and related task meta. #42042

Closed
Tracked by #41495
zimulala opened this issue Mar 9, 2023 · 0 comments
Closed
Tracked by #41495

Implement the "add index" handle and related task meta. #42042

zimulala opened this issue Mar 9, 2023 · 0 comments

Comments

@zimulala
Copy link
Contributor

zimulala commented Mar 9, 2023

The interface to be implemented

func NewHandle(ctx context.Context, se sessionctx.Context) (Handle, error) 
func (h *Handle) SubmitGlobalTaskAndRun(taskMeta proto.GlobalTaskMeta) (taskID int64, done chan struct{}, err error) 

Encode and Decode proto.GlobalTaskMeta

Implement

Transform the DDL job(type of add index, ref: model.BackfillMeta) to GlobalTaskMeta.

Reference

framework/handle.go
proto/task: SimpleNumberGTaskMeta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant