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

[DNM] skip evict leader for v7.5.1 #8614

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Commits on Oct 25, 2023

  1. placement: add rule/group count metrics (tikv#7232) (tikv#7243)

    close tikv#7242
    
    placement: add rule/group count metrics
    
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    ti-chi-bot and nolouch authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    63eb0cb View commit details
    Browse the repository at this point in the history
  2. rule_checker: fix the issue of not being able to achieve the better R…

    …egionFit (tikv#7219) (tikv#7245)
    
    close tikv#7185
    
    fix the issue of not being able to achieve the better RegionFit
    - try to replace the existing peer in another rulefit
    
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    8b64ecf View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. *: check whether region is nil (tikv#7263) (tikv#7267)

    close tikv#7261
    
    Signed-off-by: lhy1024 <[email protected]>
    
    Co-authored-by: lhy1024 <[email protected]>
    ti-chi-bot and lhy1024 authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7b3611a View commit details
    Browse the repository at this point in the history
  2. api: fix cannot dump trace (tikv#7255) (tikv#7265)

    close tikv#7253
    
    api: fix cannot dump trace with dashboard
    
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    a54621a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. dashboard: update hotfix version (tikv#7303) (tikv#7307)

    close tikv#7302
    
    Signed-off-by: mornyx <[email protected]>
    
    Co-authored-by: mornyx <[email protected]>
    ti-chi-bot and mornyx authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    595d5b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. replication mode: fix wrong available store list (tikv#7222) (tikv#7328)

    close tikv#7221
    
    Signed-off-by: disksing <[email protected]>
    
    Co-authored-by: disksing <[email protected]>
    ti-chi-bot and disksing authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    710ffcd View commit details
    Browse the repository at this point in the history
  2. core: batch get region size (tikv#7252) (tikv#7332)

    close tikv#7248
    
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    da1e92d View commit details
    Browse the repository at this point in the history
  3. checker: reduces the probability of deleting normal peers when the st…

    …ore becomes unavailable (tikv#7249) (tikv#7330)
    
    close tikv#7249
    
    Signed-off-by: lhy1024 <[email protected]>
    
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    lhy1024 and ti-chi-bot[bot] authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    a22710c View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. chore(dashboard): update tidb dashboard verstion to v2023.11.08.1 (ti…

    …kv#7339) (tikv#7341)
    
    close tikv#7340
    
    Signed-off-by: baurine <[email protected]>
    
    Co-authored-by: baurine <[email protected]>
    Co-authored-by: lhy1024 <[email protected]>
    3 people authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    7c65b8d View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. mcs/resourcemanager: delete expire tokenSlot (tikv#7344) (tikv#7350)

    close tikv#7346
    
    Signed-off-by: guo-shaoge <[email protected]>
    
    Co-authored-by: guo-shaoge <[email protected]>
    ti-chi-bot and guo-shaoge authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    d09a4f5 View commit details
    Browse the repository at this point in the history
  2. etcdutil, leadership: avoid redundant created watch channel (tikv#7352)…

    … (tikv#7353)
    
    close tikv#7351
    
    Signed-off-by: lhy1024 <[email protected]>
    
    Co-authored-by: lhy1024 <[email protected]>
    ti-chi-bot and lhy1024 authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    d0a17ca View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. resourcemanager: return resource-group priority in OnRequestWait (tik…

    …v#7378) (tikv#7383)
    
    close tikv#7379, ref tikv/tikv#15994
    
    Signed-off-by: glorv <[email protected]>
    Signed-off-by: JmPotato <[email protected]>
    
    Co-authored-by: glorv <[email protected]>
    Co-authored-by: JmPotato <[email protected]>
    3 people authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ef6ba85 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. go.mod: upgrade gin version from v1.8.1 to v1.9.1 (tikv#7451) (tikv#7514

    )
    
    close tikv#7438
    
    Upgrade Gin version to v1.9.1 to solve some security issues
    
    Signed-off-by: niubell <[email protected]>
    
    Co-authored-by: niubell <[email protected]>
    ti-chi-bot and niubell authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    a5b9d66 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. resource_control: improve trace logs, ctl and metrics (tikv#7510) (ti…

    …kv#7524)
    
    close tikv#7509
    
    resource_control: improve trace logs, ctl and metrics
    - add the ctl command to config resource cotnrol
    - add metrics and a switch to enable trace log
    
    Signed-off-by: nolouch <[email protected]>
    Signed-off-by: Shuning Chen <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    Co-authored-by: Shuning Chen <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    4 people authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    3d7f65e View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. resource_control: fix data race in controller (tikv#7520) (tikv#7526)

    close tikv#4399, ref pingcap/tidb#49311
    
    the meta information is not safe to visit concurrency
    - address the data race condition
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: ShuNing <[email protected]>
    Co-authored-by: nolouch <[email protected]>
    ti-chi-bot and nolouch authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    d2074a9 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. errs: remove redundant FastGenWithCause in ZapError (tikv#7497) (t…

    …ikv#7545)
    
    close tikv#7496
    
    Signed-off-by: Cabinfever_B <[email protected]>
    
    Co-authored-by: Cabinfever_B <[email protected]>
    ti-chi-bot and CabinfeverB authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c9c9979 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

  1. client: update the leader even if the connection creation fails (tikv…

    …#7443) (tikv#7476)
    
    close tikv#7416
    
    Signed-off-by: Cabinfever_B <[email protected]>
    
    Co-authored-by: Cabinfever_B <[email protected]>
    ti-chi-bot and CabinfeverB authored Dec 25, 2023
    Configuration menu
    Copy the full SHA
    8ea0f6f View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. resource_mananger: deep clone resource group (tikv#7623) (tikv#7625)

    close tikv#7206
    
    resource_mananger: deep clone resource group
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: ShuNing <[email protected]>
    Co-authored-by: nolouch <[email protected]>
    ti-chi-bot and nolouch authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7ce5860 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. resource_control: unify label name to group_name (tikv#7547) (tikv#7656)

    close tikv#7546
    
    Signed-off-by: nolouch <[email protected]>
    
    Co-authored-by: nolouch <[email protected]>
    ti-chi-bot and nolouch authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    511b094 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. resource_group: don't accumulate tokens when burstlimit less than 0 (t…

    …ikv#7626) (tikv#7658)
    
    ref tikv#7206
    
    Signed-off-by: Cabinfever_B <[email protected]>
    
    Co-authored-by: Cabinfever_B <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    a276843 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. memory: support cgroup with systemd (tikv#7627) (tikv#7666)

    close tikv#7628
    
    Signed-off-by: bufferflies <[email protected]>
    
    Co-authored-by: bufferflies <[email protected]>
    ti-chi-bot and bufferflies authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    0794b5e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. scheduler: add aduit log for scheduler config API and add resp msg fo…

    …r evict-leader (tikv#7674) (tikv#7688)
    
    close tikv#7672
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: Cabinfever_B <[email protected]>
    
    Co-authored-by: Yongbo Jiang <[email protected]>
    Co-authored-by: Cabinfever_B <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    25071dd View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. check: remove orphan peer only when the peers is greater than the rul…

    …e count (tikv#7581) (tikv#7590)
    
    close tikv#7584
    
    The healthy orphan peer should be the last one to be removed only if there are extra peers to keep the high availablility.
    
    Signed-off-by: bufferflies <[email protected]>
    
    Co-authored-by: bufferflies <[email protected]>
    ti-chi-bot and bufferflies authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    1be15d7 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. client: return total wait duration in resource interceptor OnRequestW…

    …ait call (tikv#7488) (tikv#7794)
    
    ref tikv#5851
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: glorv <[email protected]>
    
    Co-authored-by: glorv <[email protected]>
    ti-chi-bot and glorv authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    6978558 View commit details
    Browse the repository at this point in the history
  2. member: avoid frequent campaign times (tikv#7301) (tikv#7790)

    close tikv#7251, ref tikv#7377
    
    when pd leader frequently campaign leader, but etcd leader did not change.
    We need to prevent this pd leader campaign and resign to another member.
    
    Signed-off-by: husharp <[email protected]>
    
    Co-authored-by: husharp <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    ae19047 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. *: cherry-pick the etcd client health checker improvements (tikv#7793)

    close tikv#7251
    
    Cherry-pick the etcd client health checker improvements from tikv#7725. tikv#7727, tikv#7743,  tikv#7737 and tikv#7779.
    
    Signed-off-by: JmPotato <[email protected]>
    JmPotato authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    85e1a27 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. mcs: fix metrics cleanup (tikv#7652) (tikv#7659)

    ref tikv#7546
    
    Signed-off-by: AmoebaProtozoa <[email protected]>
    
    Co-authored-by: AmoebaProtozoa <[email protected]>
    Co-authored-by: ShuNing <[email protected]>
    3 people authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    318a3fd View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. *: fix context usage when watch etcd (tikv#7806) (tikv#7811)

    close tikv#7807
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: Ryan Leung <[email protected]>
    
    Co-authored-by: Ryan Leung <[email protected]>
    ti-chi-bot and rleungx authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    83f290a View commit details
    Browse the repository at this point in the history
  2. schedule: fix panic when switching placement rules (tikv#7415) (tikv#…

    …7425)
    
    close tikv#7414
    
    Signed-off-by: Ryan Leung <[email protected]>
    
    Co-authored-by: Ryan Leung <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    decd310 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. api: fix panic when region doesn't have a leader (tikv#7629) (tikv#7650)

    close tikv#7630
    
    Signed-off-by: Ryan Leung <[email protected]>
    
    Co-authored-by: Ryan Leung <[email protected]>
    ti-chi-bot and rleungx authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ae9db49 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. prepare_check: remove redundant check (tikv#7217) (tikv#7818)

    ref tikv#7016
    
    remove redundant check in prepare_check
    
    Signed-off-by: husharp <[email protected]>
    
    Co-authored-by: husharp <[email protected]>
    ti-chi-bot and HuSharp authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    b8feb2b View commit details
    Browse the repository at this point in the history
  2. *: fix region stats check (tikv#7748) (tikv#7812)

    close tikv#7728
    
    Signed-off-by: ti-chi-bot <[email protected]>
    Signed-off-by: Cabinfever_B <[email protected]>
    
    Co-authored-by: Yongbo Jiang <[email protected]>
    Co-authored-by: Cabinfever_B <[email protected]>
    ti-chi-bot and CabinfeverB authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    3488a65 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. chore(dashboard): update TiDB Dashboard to v7.5.1-43fe8dac [release-7…

    ….5] (tikv#7825)
    
    ref tikv#4257
    
    Signed-off-by: baurine <[email protected]>
    Signed-off-by: Connor1996 <[email protected]>
    
    Co-authored-by: Connor <[email protected]>
    baurine and Connor1996 authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    7294ff9 View commit details
    Browse the repository at this point in the history
  2. core: fix datarace in MergeLabels (tikv#7537) (tikv#7830)

    close tikv#7535
    
    Signed-off-by: lhy1024 <[email protected]>
    
    Co-authored-by: lhy1024 <[email protected]>
    ti-chi-bot and lhy1024 authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    d71a1a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. scheduler: skip evict-leader-scheduler when setting schedule deny lab…

    …el (tikv#8303)
    
    ref tikv#7300, close tikv#7853
    
    - add a real cluster test to test `skip evict-leader-scheduler when setting schedule deny label`
    - add `DeleteStoreLabel` API and `DeleteScheduler` API
    
    Signed-off-by: okJiang <[email protected]>
    okJiang authored and rleungx committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    463297b View commit details
    Browse the repository at this point in the history