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

parser: more meaningful words for placement rules #931

Merged
merged 1 commit into from
Jul 22, 2020
Merged

parser: more meaningful words for placement rules #931

merged 1 commit into from
Jul 22, 2020

Conversation

xhebox
Copy link
Contributor

@xhebox xhebox commented Jul 15, 2020

What problem does this PR solve?

Follow pingcap/tidb#18030 (comment).

However, "constraints" is used for "label". Because it is not necessarily related to region/locality.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • Has exported function/method change

Related changes

  • Need to update the documentation
  • Need to be included in the release note

@codecov
Copy link

codecov bot commented Jul 15, 2020

Codecov Report

Merging #931 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #931   +/-   ##
=======================================
  Coverage   78.46%   78.46%           
=======================================
  Files          40       40           
  Lines       14913    14913           
=======================================
  Hits        11701    11701           
  Misses       2521     2521           
  Partials      691      691           

Copy link
Contributor

@kennytm kennytm left a comment

Choose a reason for hiding this comment

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

LGTM

parser.y Show resolved Hide resolved
parser.y Show resolved Hide resolved
zimulala
zimulala previously approved these changes Jul 21, 2020
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

ti-srebot
ti-srebot previously approved these changes Jul 21, 2020
@zimulala
Copy link
Contributor

@xhebox
Please fix the conflicts.

follow
pingcap/tidb#18030 (comment).
However, "constraints" is used for "label". Because it is not
necessarily related to region/locality.
@xhebox xhebox dismissed stale reviews from ti-srebot and zimulala via 34aea1b July 21, 2020 11:46
@xhebox
Copy link
Contributor Author

xhebox commented Jul 21, 2020

@zimulala Resolved. Please give another approved.

@kennytm kennytm merged commit 8e0f01b into pingcap:master Jul 22, 2020
@nolouch
Copy link
Member

nolouch commented Jul 25, 2020

Should we update the RPC documents? cc @djshow832

@xhebox
Copy link
Contributor Author

xhebox commented Jul 25, 2020

@nolouch RFC documents are slower than my contribution progress until today. The syntax just changed again.

Still, there are lots of things not decided. And there may be more problems on RFC documents when I am trying to implement this project.

The conclusion is that just comment any inconsistency or problem on documents...

@nolouch
Copy link
Member

nolouch commented Jul 27, 2020

@xhebox got it, thanks.

tiancaiamao pushed a commit to tiancaiamao/parser that referenced this pull request Apr 27, 2021
follow
pingcap/tidb#18030 (comment).
However, "constraints" is used for "label". Because it is not
necessarily related to region/locality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants