Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
store/tikv/gc_worker: Add config to specify gc concurrency manually #10561
Signed-off-by: MyonKeminta MyonKeminta@users.noreply.github.com
What problem does this PR solve?
Now in master branch TiDB always uses number of up stores as the gc concurrency (now gc concurrency is used for ResolveLocks and will be used for notifying delete range too). However it's useful to make it still configurable. This PR makes it possible to fallback to use configured concurrency, rather than use number of up stores directly.
What is changed and how it works?
This PR adds a new config
@@ Coverage Diff @@ ## master #10561 +/- ## =============================================== - Coverage 78.3433% 78.3373% -0.006% =============================================== Files 414 414 Lines 87668 87704 +36 =============================================== + Hits 68682 68705 +23 - Misses 13853 13856 +3 - Partials 5133 5143 +10