-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support receving health feedback (#1153)
* Register health feedback handler in batch client Signed-off-by: MyonKeminta <[email protected]> * update protocol Signed-off-by: MyonKeminta <[email protected]> * Collect the health status and record to the stores Signed-off-by: MyonKeminta <[email protected]> * Remove the filter which looks not necessary Signed-off-by: MyonKeminta <[email protected]> * Add metrics Signed-off-by: MyonKeminta <[email protected]> * Fix checkAndUpdateStoreHealthStatus panicking Signed-off-by: MyonKeminta <[email protected]> * Add logs Signed-off-by: MyonKeminta <[email protected]> * Merge SetHealthFeedbackHandler to Client Signed-off-by: MyonKeminta <[email protected]> * Try another pattern: separated callback registry Signed-off-by: MyonKeminta <[email protected]> * Try region cache eventListener pattern Signed-off-by: MyonKeminta <[email protected]> * Add tests Signed-off-by: MyonKeminta <[email protected]> * Test receiving froim callback Signed-off-by: MyonKeminta <[email protected]> * Add tests to region cache Signed-off-by: MyonKeminta <[email protected]> * Remove unnecessary debug log Signed-off-by: MyonKeminta <[email protected]> * Add comments Signed-off-by: MyonKeminta <[email protected]> * remove replace of tidb repo Signed-off-by: MyonKeminta <[email protected]> * fix build Signed-off-by: MyonKeminta <[email protected]> * Update comments; fix lint Signed-off-by: MyonKeminta <[email protected]> * Add the isSlow method of Store back Signed-off-by: MyonKeminta <[email protected]> * remove unused method for now to make lint happy Signed-off-by: MyonKeminta <[email protected]> * Address comments Signed-off-by: MyonKeminta <[email protected]> --------- Signed-off-by: MyonKeminta <[email protected]> Co-authored-by: MyonKeminta <[email protected]>
- Loading branch information
1 parent
a305dde
commit 03bbadb
Showing
20 changed files
with
573 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.