Distributed Key-Value Store Example Project Bug
### Summary
I tried following the distributed key-value store in the examples and ran into a Quorum Issue . I tried everything but it still persists
### Expected behavior
`PUT ` is suppose to insert value in store
### Actual behavior
``` PUT my-key my-value
Failed to put record QuorumFailed { key: Key(b"my-key"), success: [], quorum: 1 }
```
### Relevant log output
```shell
2026-04-17T14:47:41.596844Z INFO libp2p_swarm: local_peer_id=12D3KooWAABMXezC6RJheZrtMmxwYkRX4PaMjqDi258yNzHJYBJp
2026-04-17T14:47:41.597731Z INFO libp2p_mdns::behaviour::iface: creating instance on iface address address=192.168.43.72
Listening on /ip4/127.0.0.1/tcp/39311
Listening on /ip4/192.168.43.72/tcp/39311
2026-04-17T14:47:41.599595Z INFO libp2p_mdns::behaviour: discovered peer on address peer=12D3KooWHMSKyRXHm8sXQrR7b7dC2rFLbyLyekRrf5n3gtPX8iQ1 address=/ip4/192.168.43.72/tcp/34643/p2p/12D3KooWHMSKyRXHm8sXQrR7b7dC2rFLbyLyekRrf5n3gtPX8iQ1
2026-04-17T14:47:44.613649Z INFO libp2p_mdns::behaviour: discovered peer on address peer=12D3KooWQ6CYMTT5Uj9kvZXrQLvRLe7dhP9Fn2coeRgZ3UmygjGi address=/ip4/192.168.43.72/tcp/45973/p2p/12D3KooWQ6CYMTT5Uj9kvZXrQLvRLe7dhP9Fn2coeRgZ3UmygjGi
PUT my-key my-value
Failed to put record QuorumFailed { key: Key(b"my-key"), success: [], quorum: 1 }
2026-04-17T14:53:41.610337Z INFO libp2p_mdns::behaviour: expired peer on address peer=12D3KooWHMSKyRXHm8sXQrR7b7dC2rFLbyLyekRrf5n3gtPX8iQ1 address=/ip4/192.168.43.72/tcp/34643/p2p/12D3KooWHMSKyRXHm8sXQrR7b7dC2rFLbyLyekRrf5n3gtPX8iQ1
2026-04-17T15:13:44.770721Z INFO libp2p_mdns::behaviour: expired peer on address peer=12D3KooWQ6CYMTT5Uj9kvZXrQLvRLe7dhP9Fn2coeRgZ3UmygjGi address=/ip4/192.168.43.72/tcp/45973/p2p/12D3KooWQ6CYMTT5Uj9kvZXrQLvRLe7dhP9Fn2coeRgZ3UmygjGi
```
### Possible Solution
i'm posting it here for help
### Version
_No response_
### Would you like to work on fixing this bug?
Yes
0 条评论