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

stats: handle feedback updates for topn items #11434

Merged
merged 3 commits into from
Jul 29, 2019

Conversation

alivxxx
Copy link
Contributor

@alivxxx alivxxx commented Jul 25, 2019

What problem does this PR solve?

Support update count of topn when using feedback.

What is changed and how it works?

Add a new field in queryFeedback to store the raw feedback values so it can update the topn items.

Check List

Tests

  • Unit test

Code changes

  • Has exported function/method change

Side effects

  • None

Related changes

  • Need to cherry-pick to the release branch

@codecov
Copy link

codecov bot commented Jul 25, 2019

Codecov Report

Merging #11434 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #11434   +/-   ##
===========================================
  Coverage   81.4066%   81.4066%           
===========================================
  Files           424        424           
  Lines         91226      91226           
===========================================
  Hits          74264      74264           
  Misses        11635      11635           
  Partials       5327       5327

@alivxxx alivxxx requested a review from winoros July 26, 2019 02:42
Copy link
Contributor

@eurekaka eurekaka left a comment

Choose a reason for hiding this comment

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

LGTM

@eurekaka eurekaka added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 29, 2019
Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

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

lgtm

@eurekaka
Copy link
Contributor

/run-all-tests

@alivxxx alivxxx added status/LGT2 Indicates that a PR has LGTM 2. needs-cherry-pick-3.0 and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 29, 2019
@alivxxx alivxxx merged commit af15f72 into pingcap:master Jul 29, 2019
@alivxxx alivxxx deleted the topn-feedback branch July 29, 2019 09:21
@sre-bot
Copy link
Contributor

sre-bot commented Jul 29, 2019

cherry pick to release-3.0 in PR #11507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/statistics status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants