Skip to content
Snippets Groups Projects
Commit 12292fbc authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon: Committed by Yaroslav Dynnikov
Browse files

chore(docs): Peer -> Instance in clustering.md

parent 55f8b0b4
No related branches found
No related tags found
1 merge request!410chore(docs): Peer -> Instance in clustering.md
Pipeline #14063 passed
......@@ -87,15 +87,15 @@ struct join::Request {
```rust
struct join::Response {
/// Добавленный пир (чтобы знать все айдишники)
peer: Peer,
/// Воутеры (чтобы добавляемый инстанс мог наладить контакт)
raft_group: Vec<Peer>,
/// Добавленный инстанс (чтобы знать все айдишники)
instance: Instance,
/// Адреса остальных инстансев кластера (чтобы добавляемый инстанс мог наладить контакт)
peer_addresses: Vec<PeerAddress>,
/// Настройки репликации (чтобы инициализировать репликацию)
box_replication: Vec<String>,
}
struct Peer {
struct Instance {
// всевозможные идентификаторы
raft_id: RaftId,
instance_id: String,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment