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

skip wrongly write ActionUpdateTiFlashReplicaStatus job (#947) #948

Merged
merged 2 commits into from
Apr 7, 2020

Conversation

sre-bot
Copy link

@sre-bot sre-bot commented Apr 7, 2020

cherry-pick #947 to release-3.1


What problem does this PR solve?

ref #941

What is changed and how it works?

skip wrongly write ActionUpdateTiFlashReplicaStatus job

after pingcap/tidb#16049 there's no any ActionUpdateTiFlashReplicaStatus job that will be written.

Check List

Tests

  • Integration test
  • Manual test (add detailed scripts or steps below)
    create table t(id int);
    ALTER TABLE t SET TIFLASH REPLICA 3 LOCATION LABELS "rack", "host", "abc"; // model.ActionSetTiFlashReplica
    curl -X POST -d '{"id":45,"region_count":3,"flash_region_count":3}' https://127.0.0.1:10080/tiflash/replica // model.ActionUpdateTiFlashReplicaStatus
    performance write on table t and check can still replicate. - No code

Code changes

Side effects

Related changes

Copy link
Collaborator

@IANTHEREAL IANTHEREAL left a comment

Choose a reason for hiding this comment

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

LGTM

@sre-bot
Copy link
Author

sre-bot commented Apr 7, 2020

/run-all-tests

@sre-bot sre-bot merged commit d527f38 into pingcap:release-3.1 Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants