-
-
Save Hoverbear/232cc787e004699b5ae1 to your computer and use it in GitHub Desktop.
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
hoverbear ~ git raft RUST_LOG=raft=debug cargo run --example register put foo 127.0.0.1:8080 127.0.0.1:8081 127.0.0.1:8082 replica_message | |
Running `target/debug/examples/register put foo 127.0.0.1:8080 127.0.0.1:8081 127.0.0.1:8082` | |
"127.0.0.1:8080" | |
"127.0.0.1:8081" | |
"127.0.0.1:8082" | |
{V4(127.0.0.1:8080), V4(127.0.0.1:8082), V4(127.0.0.1:8081)} | |
DEBUG:raft::client: connecting to potential leader 127.0.0.1:8080 | |
DEBUG:raft::client: connected | |
DEBUG:raft::client: awaiting response from connection | |
DEBUG:raft::client: received response NotLeader | |
DEBUG:raft::client: had existing connection Ok(V4(127.0.0.1:8082)) | |
DEBUG:raft::client: awaiting response from connection | |
DEBUG:raft::client: received response Success | |
[102, 111, 111] | |
hoverbear ~ git raft RUST_LOG=raft=debug cargo run --example register get 127.0.0.1:8080 127.0.0.1:8081 127.0.0.1:8082 replica_message | |
Running `target/debug/examples/register get 127.0.0.1:8080 127.0.0.1:8081 127.0.0.1:8082` | |
"127.0.0.1:8080" | |
"127.0.0.1:8081" | |
"127.0.0.1:8082" | |
{V4(127.0.0.1:8080), V4(127.0.0.1:8082), V4(127.0.0.1:8081)} | |
DEBUG:raft::client: connecting to potential leader 127.0.0.1:8080 | |
DEBUG:raft::client: connected | |
DEBUG:raft::client: awaiting response from connection | |
DEBUG:raft::client: received response NotLeader | |
DEBUG:raft::client: had existing connection Ok(V4(127.0.0.1:8082)) | |
DEBUG:raft::client: awaiting response from connection | |
DEBUG:raft::client: received response Success | |
[102, 111, 111] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment