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

Support receving health feedback #1153

Merged
merged 23 commits into from
Feb 28, 2024

Commits on Feb 6, 2024

  1. Register health feedback handler in batch client

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    e714b6a View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. update protocol

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    12166fa View commit details
    Browse the repository at this point in the history
  2. Collect the health status and record to the stores

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    419649a View commit details
    Browse the repository at this point in the history
  3. Remove the filter which looks not necessary

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    9b9d0d0 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Add metrics

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    c381ab5 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Fix checkAndUpdateStoreHealthStatus panicking

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    cce241a View commit details
    Browse the repository at this point in the history
  2. Add logs

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    f769b67 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Merge SetHealthFeedbackHandler to Client

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    3d92daf View commit details
    Browse the repository at this point in the history
  2. Try another pattern: separated callback registry

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    a29a129 View commit details
    Browse the repository at this point in the history
  3. Try region cache eventListener pattern

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    1ddc60d View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Add tests

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    1af7e4a View commit details
    Browse the repository at this point in the history
  2. Test receiving froim callback

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3d685e7 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Add tests to region cache

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    91c7bbe View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary debug log

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    903ff59 View commit details
    Browse the repository at this point in the history
  3. Add comments

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    daa3dd0 View commit details
    Browse the repository at this point in the history
  4. remove replace of tidb repo

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f800ae1 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Merge branch 'master' of https://github.com/tikv/client-go into m/rec…

    …eive-health-feedback
    MyonKeminta committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c2509b4 View commit details
    Browse the repository at this point in the history
  2. fix build

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f99235a View commit details
    Browse the repository at this point in the history
  3. Update comments; fix lint

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    0be8fd6 View commit details
    Browse the repository at this point in the history
  4. Add the isSlow method of Store back

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    cf5330d View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. remove unused method for now to make lint happy

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c6535a8 View commit details
    Browse the repository at this point in the history
  2. Address comments

    Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
    MyonKeminta committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    eb1421f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64f11b1 View commit details
    Browse the repository at this point in the history