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

planner: simplify plan cache for fast point get #53090

Merged
merged 4 commits into from
May 8, 2024

Conversation

qw4990
Copy link
Contributor

@qw4990 qw4990 commented May 7, 2024

What problem does this PR solve?

Issue Number: ref #50618

Problem Summary: planner: simplify plan cache for fast point get

What changed and how does it work?

planner: simplify plan cache for fast point get

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

@ti-chi-bot ti-chi-bot bot added release-note-none sig/planner SIG: Planner size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 7, 2024
Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 74.5627%. Comparing base (96f9797) to head (a9c52fc).
Report is 2 commits behind head on master.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #53090        +/-   ##
================================================
+ Coverage   72.4322%   74.5627%   +2.1305%     
================================================
  Files          1490       1490                
  Lines        429001     429135       +134     
================================================
+ Hits         310735     319975      +9240     
+ Misses        99020      89293      -9727     
- Partials      19246      19867       +621     
Flag Coverage Δ
integration 49.1239% <84.2105%> (?)
unit 71.2834% <84.2105%> (-0.0326%) ⬇️

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

Components Coverage Δ
dumpling 53.9957% <ø> (ø)
parser ∅ <ø> (∅)
br 50.3848% <ø> (+9.0428%) ⬆️

Copy link

ti-chi-bot bot commented May 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AilinKid, hawkingrei

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

The pull request process is described 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

ti-chi-bot bot commented May 8, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-05-08 00:50:08.352711656 +0000 UTC m=+1009562.109847229: ☑️ agreed by AilinKid.
  • 2024-05-08 01:00:07.788282779 +0000 UTC m=+1010161.545418352: ☑️ agreed by hawkingrei.

@ti-chi-bot ti-chi-bot bot merged commit 2b754c7 into pingcap:master May 8, 2024
21 checks passed
terry1purcell pushed a commit to terry1purcell/tidb that referenced this pull request May 17, 2024
RidRisR pushed a commit to RidRisR/tidb that referenced this pull request May 23, 2024
qw4990 added a commit to qw4990/tidb that referenced this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none sig/planner SIG: Planner size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants