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

Support tiflash in list-append and rw-register test cases and add a tiflash specific case #422

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

lidezhu
Copy link
Contributor

@lidezhu lidezhu commented Jun 21, 2021

What problem does this PR solve?

What is changed and how does it work?

Check List

Tests

  • Unit test
  • E2E test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has Go code change
  • Has CI related scripts change
  • Has Terraform scripts change

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

@lidezhu lidezhu changed the title Support more tiflash tests Support test tiflash in list-append and rw-register and add a tiflash specific case Jun 21, 2021
@lidezhu lidezhu changed the title Support test tiflash in list-append and rw-register and add a tiflash specific case Support tiflash in list-append and rw-register test cases and add a tiflash specific case Jun 21, 2021
txnMode: txnMode,
replicaRead: replicaRead,
tiflashDataReplicas: tiflashDataReplicas,
it: elletxn.WrTxn(opt),
Copy link
Contributor

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,"

Copy link
Contributor

@lilinghai lilinghai left a 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 {
Copy link
Contributor

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.

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

Successfully merging this pull request may close these issues.

None yet

2 participants