Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
tikv: make region request can send to flash store #11652
What problem does this PR solve?
Make region request can send to flash store.
What is changed and how it works?
Add global config to reveal tiflash store labels and some flash mark in
@@ Coverage Diff @@ ## master #11652 +/- ## ================================================ + Coverage 80.9013% 81.1015% +0.2002% ================================================ Files 454 454 Lines 100138 98405 -1733 ================================================ - Hits 81013 79808 -1205 + Misses 13319 12847 -472 + Partials 5806 5750 -56
lysu left a comment •
maybe need take care #11347...
and take care fail retry logic:
at last, maybe we should take care
this method will be called after send request failure
A request to TiKV leader should not switch current work index to TiFish, if so maybe will lead write request to send to TiFlash.
and A req to TiFlash maybe better not trigger "switch current work"(e.g. one TiFlash node has crashed, but TiKV's leader is work well and keep handling oltp load).