Skip to content

Revert "planner: remove the useless variable tidb_enable_point_get_cache" #51008

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

Closed
wants to merge 1 commit into from

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented Feb 6, 2024

What problem does this PR solve?

Issue Number: close #51007, also will close #48958

Problem Summary:

What changed and how does it work?

Revert #36844
Add tidb_enable_point_get_cache back.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

planner: remove the useless variable tidb_enable_point_get_cache
"

Signed-off-by: Jack Yu <jackysp@gmail.com>
@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 6, 2024
@jackysp jackysp requested a review from qw4990 February 6, 2024 09:04
Copy link
Contributor

@Defined2014 Defined2014 left a comment

Choose a reason for hiding this comment

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

Please close #48958 after this PR merged.

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Feb 6, 2024
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.4517%. Comparing base (f0a26dd) to head (a30a9e3).
Report is 1554 commits behind head on master.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #51008        +/-   ##
================================================
+ Coverage   70.5842%   72.4517%   +1.8675%     
================================================
  Files          1467       1567       +100     
  Lines        434825     477381     +42556     
================================================
+ Hits         306918     345871     +38953     
- Misses       108672     109335       +663     
- Partials      19235      22175      +2940     
Flag Coverage Δ
integration 52.2081% <100.0000%> (?)
unit 70.3083% <100.0000%> (-0.0888%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 54.2940% <ø> (ø)
parser ∅ <ø> (∅)
br 56.7501% <ø> (+11.0049%) ⬆️

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Feb 6, 2024
Copy link

ti-chi-bot bot commented Feb 6, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-02-06 09:12:43.493383016 +0000 UTC m=+261689.060152915: ☑️ agreed by Defined2014.
  • 2024-02-06 09:35:34.732666471 +0000 UTC m=+263060.299436361: ☑️ agreed by qw4990.

@Defined2014
Copy link
Contributor

/cc @easonn7 @yudongusa

PTAL

Copy link

ti-chi-bot bot commented Feb 7, 2024

@Defined2014: GitHub didn't allow me to request PR reviews from the following users: yudongusa, easonn7.

Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @easonn7 @yudongusa

PTAL

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Contributor

@AilinKid AilinKid left a comment

Choose a reason for hiding this comment

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

/retest

@yudongusa
Copy link

@jackysp did we have enough tests on adding this back to make sure it still works?

@jackysp
Copy link
Member Author

jackysp commented Feb 22, 2024

@jackysp did we have enough tests on adding this back to make sure it still works?

@yudongusa When this switch was added originally, it seems that no testing was done. I think we can add the test for this switch in other pull requests. Currently, it is in a hidden state without documentation, so it will not affect customers either.

@qw4990
Copy link
Contributor

qw4990 commented Apr 26, 2024

/retest

Copy link

ti-chi-bot bot commented Apr 26, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: AilinKid, Defined2014, qw4990
Once this PR has been reviewed and has the lgtm label, please assign easonn7 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

tiprow bot commented Apr 26, 2024

@jackysp: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
tiprow_fast_test a30a9e3 link true /test fast_test_tiprow
fast_test_tiprow a30a9e3 link true /test fast_test_tiprow

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link

ti-chi-bot bot commented Apr 26, 2024

@jackysp: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
idc-jenkins-ci-tidb/unit-test a30a9e3 link true /test unit-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ti-chi-bot ti-chi-bot bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 5, 2024
Copy link

ti-chi-bot bot commented Jul 5, 2024

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tidb_enable_point_get_cache back Should we keep EnablePointGetCache realted codes?
5 participants