-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
statistics: remove mutex in hotPeerCache (#3721)
* try to remove mutex Signed-off-by: yisaer <[email protected]> try to remove mutex Signed-off-by: yisaer <[email protected]> * try to remove mutex Signed-off-by: yisaer <[email protected]> * try to remove mutex Signed-off-by: yisaer <[email protected]> * try to remove mutex Signed-off-by: yisaer <[email protected]> * fix lint Signed-off-by: yisaer <[email protected]> * fix lint Signed-off-by: yisaer <[email protected]> * address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> fix test Signed-off-by: yisaer <[email protected]> * remove useless code Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> * fix race Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> fix race Signed-off-by: yisaer <[email protected]> * address the comment Signed-off-by: yisaer <[email protected]> * address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> Revert "address the comment" This reverts commit 16a3cbf. address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> fix goroutine stuck Signed-off-by: yisaer <[email protected]> address the comment Signed-off-by: yisaer <[email protected]> address the Signed-off-by: yisaer <[email protected]> address the Signed-off-by: yisaer <[email protected]> address the Signed-off-by: yisaer <[email protected]> address the Signed-off-by: yisaer <[email protected]> use leaderCtx Signed-off-by: yisaer <[email protected]> Revert "use leaderCtx" This reverts commit 7327c64. * use quit Signed-off-by: yisaer <[email protected]> use quit Signed-off-by: yisaer <[email protected]> use quit Signed-off-by: yisaer <[email protected]> * add staleread casew Signed-off-by: yisaer <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
- Loading branch information
1 parent
6c52d75
commit d26c09a
Showing
10 changed files
with
399 additions
and
193 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
Oops, something went wrong.