You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
veod32 opened this issue
Dec 29, 2021
· 1 comment
· Fixed by #3151
Assignees
Labels
iprotoRelated to the iproto protocolrewrite[nature] Revise existing text for structure/phrasing/termsserver[area] Task relates to Tarantool's server (core) functionality
The list of requests doesn't match the number and the order of document sections describing these requests.
Some internal links in the list are incorrect: starting from IPROTO_JOIN till IPROTO_RREGISTER, they all have the same anchor #box-protocol-join
@ locker says:
Я думаю, что нужны следующие секции:
Формат запроса и ответа. Общие положения: используем msgpack, размер запроса передается перед самим запросам, для сопоставления запрос-ответ используем sync number, что такое header/body и т.д. Здесь же можно дать описание и типы ключей header-а запроса.
Все типы ключей, используемых для передачи аргументов, с их типами и кратким описанием (например, IPROTO_SPACE_ID - идентификато таблицы, unsigned integer).
Секцию со всеми возможными пользовательскими запросами с описанием, что делает, какие аргументы принимает, что возвращает.
PUB/SUB - отдельно - тут особый протокол, нужно описать отдельно. Можно ссылку сюда дать из IPROTO_WATCH, IPROTO_UNWATCH из секции с пользовательскими запросами.
Стримы. Описать в чем смысл стримов. Дать ссылку сюда из IPROTO_STREAM_ID из секции с типами ключей кргументов.
Репликация. Описать кратко все внутренние запросы используемые репликацией. Пользователи (разработчики коннекторов) это читать не будут, поэтому лучше в отдельной секции.
Про SQL и вызов функций писать не вижу особого смысла - это лучше добавить в описание запроса (IPROTO_CALL, IPROTO_EXECUTE).
The text was updated successfully, but these errors were encountered:
veod32
added
server
[area] Task relates to Tarantool's server (core) functionality
iproto
Related to the iproto protocol
rewrite
[nature] Revise existing text for structure/phrasing/terms
labels
Dec 29, 2021
Resolves#1662Resolves#2422Resolves#2442Resolves#2467Resolves#2526
Part of #2416
* Split the Binary protocol page into several sections
* Move examples to How-to
* Correct the description of the greeting
Resolves#2467
* Elaborate on IPROTO_OPS and the different uses of IPROTO_TUPLE
* Provide missing info on keys
* Clarify Replication items in terms of whether they are a request,
response, map, key, etc. Groom the structure accordingly
* Add PROMOTE and DEMOTE descriptions
* Bring all SQL-related info into one document
* Clarify that IPROTO_REQUEST_TYPE is used in requests and responses alike
* Improve formatting
* Add tables for uniformity
* Add UML diagram illustrations in the SVG format
Co-authored-by: Kseniia Antonova <[email protected]>
Co-authored-by: Serge Petrenko <[email protected]>
iprotoRelated to the iproto protocolrewrite[nature] Revise existing text for structure/phrasing/termsserver[area] Task relates to Tarantool's server (core) functionality
Uh oh!
There was an error while loading. Please reload this page.
Product: Tarantool
Since: latest
Audience/target: developers
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/
SME: @ sergepetrenko
Details
In the Index section :
#box-protocol-join
@ locker says:
The text was updated successfully, but these errors were encountered: