-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: introduce the connection ctx manager (tikv#8940)
ref tikv#8690 Previously, we used a `sync.Map` as a medium to propagate connection ctx updates between the dispatcher and TSO client, which introduced a lot of redundant parameter passing and made the logic less intuitive. This PR implements the same functionality using a common connection ctx manager to simplify and reuse related code. Signed-off-by: JmPotato <[email protected]>
- Loading branch information
Showing
6 changed files
with
371 additions
and
204 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
Oops, something went wrong.