Skip to content

ddl: set correct startHandle when add indices meets some errors (#6897)#6903

Merged
coocood merged 3 commits into
pingcap:release-2.0from
winkyao:cherry-pick
Jun 25, 2018
Merged

ddl: set correct startHandle when add indices meets some errors (#6897)#6903
coocood merged 3 commits into
pingcap:release-2.0from
winkyao:cherry-pick

Conversation

@winkyao
Copy link
Copy Markdown
Contributor

@winkyao winkyao commented Jun 25, 2018

This is a cherry-pick from #6897

@coocood
Copy link
Copy Markdown
Member

coocood commented Jun 25, 2018

LGTM

1 similar comment
@tiancaiamao
Copy link
Copy Markdown
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT2 Indicates that a PR has LGTM 2. label Jun 25, 2018
@tiancaiamao
Copy link
Copy Markdown
Contributor

/run-all-tests tidb-test=release-2.0 tikv=release-2.0 pd=release-2.0

tiancaiamao
tiancaiamao previously approved these changes Jun 25, 2018
Comment thread ddl/index.go Outdated
log.Debug("[ddl-reorg] got backfill index task:#v", task)

// gofail: var mockAddIndexErr bool
//if mockAddIndexErr && !gofailMockAddindexErrOnceGuard && w.id == 0 {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check the w.id first.

@coocood
Copy link
Copy Markdown
Member

coocood commented Jun 25, 2018

LGTM

@coocood
Copy link
Copy Markdown
Member

coocood commented Jun 25, 2018

/run-unit-test tidb-test=release-2.0 tikv=release-2.0 pd=release-2.0

@coocood coocood merged commit 6ec7570 into pingcap:release-2.0 Jun 25, 2018
@winkyao winkyao deleted the cherry-pick branch July 6, 2018 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants