-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvclient: separate out proxy sending
Previously a proxy request was handled using the same logic within sendPartialBatch and sendToReplicas. There were short circuits to handle the different cases of retries, but this was still incorrect in some places. Instead this change intercepts proxy request at the start of Send and creates and sends to the transport directly. This greatly simplifies the code for proxy requests and additionally fixes complex cases where the routing information changes. Epic: none Fixes: #123965 Informs: #123146 Release note: None
- Loading branch information
1 parent
c179d3f
commit 83b9103
Showing
1 changed file
with
59 additions
and
123 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