forked from facebook/kuduraft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[consensus][proxy][3/n] support for proxying consensus messages (face…
…book#42) This patch adds support for proxying consensus messages. Currently supported: * New ConsensusService RPC endpoint to change the proxy topology. * PROXY_OP being translated to a real op if available and forwarded. * Multi-hop routing. * Proxy timed-waiting if proxied op is not yet available. * Inefficient server-side proxying implementation (blocking). Tests: Tests have been stripped from this kuduraft backport. In the unstripped version of this patch, I added the following tests: 1. Simple test that acts like a leader and sends RPCs to a proxy an validates that a downstream node has received the RPC. 2. Same as the above, but also tests multi-hop routing. TODO: * Leader knowledge of proxies and the topology. * TTL support to avoid routing loops. * Non-blocking request processing. Change-Id: I1b42aa4777df1858409d6933ae8316e0e36db4ae
- Loading branch information
Showing
6 changed files
with
440 additions
and
10 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
Oops, something went wrong.