Skip to content

Commit

Permalink
Update iproto replication doc to 2.11 (#4635)
Browse files Browse the repository at this point in the history
Resolves #4495, #2275, #2276, #4011
  • Loading branch information
p7nov authored Nov 15, 2024
1 parent 1348ca2 commit 9e9e02e
Show file tree
Hide file tree
Showing 14 changed files with 327 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@startuml

skinparam {
HyperlinkColor #0077FF
FontColor #313131
BorderColor #313131
BackgroundColor transparent
}

json "**IPROTO_FETCH_SNAPSHOT**" as fetch_snapshot_request {
"Size": "MP_UINT",
"Header": {
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_REQUEST_TYPE]]": "IPROTO_FETCH_SNAPSHOT",
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SYNC]]": "MP_UINT"
}
}

@enduml
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions doc/reference/internals/iproto/images/repl_join_meta.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@startuml

skinparam {
HyperlinkColor #0077FF
FontColor #313131
BorderColor #313131
BackgroundColor transparent
}

json "**IPROTO_JOIN_META**" as join_meta_request {
"Size": "MP_UINT",
"Header": {
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_REQUEST_TYPE]]": "IPROTO_JOIN_META",
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SYNC]]": "MP_UINT"
}
}

@enduml
28 changes: 28 additions & 0 deletions doc/reference/internals/iproto/images/repl_join_meta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion doc/reference/internals/iproto/images/repl_join_request.puml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ json "**IPROTO_JOIN**" as join_request {
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SYNC]]": "MP_UINT"
},
"Body": {
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_INSTANCE_UUID]]": "MP_STR – UUID of this instance"
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_INSTANCE_UUID]]": "MP_STR – UUID of this instance",
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SERVER_VERSION]]": "MP_UINT – replica's version"
}
}

Expand Down
11 changes: 6 additions & 5 deletions doc/reference/internals/iproto/images/repl_join_request.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ skinparam {
BackgroundColor transparent
}

json "**Response to IPROTO_JOIN**" as join_response {
json "**Response to IPROTO_JOIN/IPROTO_FETCH_SNAPSHOT**" as join_response {
"Size": "MP_UINT",
"Header": {
"[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_REQUEST_TYPE]]": "IPROTO_OK",
Expand Down
Loading

0 comments on commit 9e9e02e

Please sign in to comment.