-
Notifications
You must be signed in to change notification settings - Fork 71
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
Support tiflash in list-append and rw-register test cases and add a tiflash specific case #422
base: master
Are you sure you want to change the base?
Conversation
txnMode: txnMode, | ||
replicaRead: replicaRead, | ||
tiflashDataReplicas: tiflashDataReplicas, | ||
it: elletxn.WrTxn(opt), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function Create
also needs "tiflashDataReplicas: r.tiflashDataReplicas,"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest lgtm
if err := loader.Flush(); err != nil { | ||
log.Warn(err) | ||
} | ||
if _, err := db.Exec(fmt.Sprintf("DELETE FROM %s limit %d", tableName, deleteNum)); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should ensure the read engine is "TiKV" here.
What problem does this PR solve?
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: