We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
Fix https://asktug.com/t/topic/35126/15
This Buf will affect the TiFlash data replicate.
Reproduce:
func onCreateSchema(d *ddlCtx, t *meta.Meta, job *model.Job) (ver int64, _ error) { @@ -156,6 +158,8 @@ func onDropSchema(t *meta.Meta, job *model.Job) (ver int64, _ error) { dbInfo.State = model.StateWriteOnly err = t.UpdateDatabase(dbInfo) case model.StateWriteOnly: + fmt.Printf("---owner wait--------\n\n") + time.Sleep(10 * time.Second) @@ -43,6 +44,8 @@ func (b *Builder) ApplyDiff(m *meta.Meta, diff *model.SchemaDiff) ([]int64, erro if diff.Type == model.ActionCreateSchema { return nil, b.applyCreateSchema(m, diff) } else if diff.Type == model.ActionDropSchema { + fmt.Printf("-----------apply wait") + time.Sleep(time.Second * 10)
drop database test
drop table t
curl "http://$IP:10080/tiflash/replica"
(Schema ID 52).(Table ID 53) doesn't exist.
Since curl "http://$IP:10080/tiflash/replica" failed, it will cause the TiFlash stop to replicate data.
v4.0.0
The text was updated successfully, but these errors were encountered:
crazycs520
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Fix https://asktug.com/t/topic/35126/15
This Buf will affect the TiFlash data replicate.
Reproduce:
drop database test
in sessino1;drop table t
in session 2curl "http://$IP:10080/tiflash/replica"
then will got below error:Since
curl "http://$IP:10080/tiflash/replica"
failed, it will cause the TiFlash stop to replicate data.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. Affected version (Required)
v4.0.0
5. Root Cause Analysis
The text was updated successfully, but these errors were encountered: