diff --git a/doc/reference/internals/iproto/images/iproto_insert_arrow.puml b/doc/reference/internals/iproto/images/iproto_insert_arrow.puml new file mode 100644 index 000000000..163493984 --- /dev/null +++ b/doc/reference/internals/iproto/images/iproto_insert_arrow.puml @@ -0,0 +1,34 @@ +@startuml + +skinparam { + HyperlinkColor #0077FF + FontColor #313131 + BorderColor #313131 + BackgroundColor transparent +} + +json "**IPROTO_INSERT_ARROW**" as insert_request { + "Size": "MP_UINT", + "Header": { + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_REQUEST_TYPE]]": "IPROTO_INSERT_ARROW", + "[[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_SPACE_ID]]": "MP_UINT", + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_INSERT_ARROW]]": "MP_ARROW" + } +} + +json "**Response to IPROTO_INSERT_ARROW**" as insert_response { + "Size": "MP_UINT", + "Header": { + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_REQUEST_TYPE]]": "IPROTO_OK", + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SYNC]]": "MP_UINT", + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_SCHEMA_VERSION]]": "MP_UINT" + }, + "Body": { + "[[https://tarantool.io/en/doc/latest/reference/internals/iproto/keys IPROTO_DATA]]": "Empty body" + } +} + +@enduml diff --git a/doc/reference/internals/iproto/images/iproto_insert_arrow.svg b/doc/reference/internals/iproto/images/iproto_insert_arrow.svg new file mode 100644 index 000000000..d8f7bc2ce --- /dev/null +++ b/doc/reference/internals/iproto/images/iproto_insert_arrow.svg @@ -0,0 +1,117 @@ + + + + Layer 1 + + + IPROTO_INSERT_ARROW + + + Size + MP_UINT + + Header + + + + IPROTO_REQUEST_TYPE + + IPROTO_INSERT_ARROW + + + IPROTO_SYNC + + MP_UINT + + Body + + + + IPROTO_SPACE_ID + + MP_UINT + + + IPROTO_ARROW + + MP_ARROW + + Response to IPROTO_INSERT_ARROW + + + Size + MP_UINT + + Header + + + + IPROTO_REQUEST_TYPE + + IPROTO_OK + + + IPROTO_SYNC + + MP_UINT + + + IPROTO_SCHEMA_VERSION + + MP_UINT + + Body + + + + IPROTO_DATA + + Empty body + + + + \ No newline at end of file diff --git a/doc/reference/internals/iproto/keys.rst b/doc/reference/internals/iproto/keys.rst index 4a55b38ea..1848e41b6 100644 --- a/doc/reference/internals/iproto/keys.rst +++ b/doc/reference/internals/iproto/keys.rst @@ -491,6 +491,9 @@ Available IPROTO_FEATURES are the following: - ``IPROTO_FEATURE_WATCHERS = 3`` -- remote watchers support: :ref:`IPROTO_WATCH `, :ref:`IPROTO_UNWATCH `, and :ref:`IPROTO_EVENT ` commands. +- ``IPROTO_FEATURE_INSERT_ARROW = 12`` -- support of data insertion in the Arrow format. Learn more + about the :ref:`feature `. Available since version :doc:`3.3.0 `. + .. _internals-iproto-keys-sync: IPROTO_SYNC diff --git a/doc/reference/internals/iproto/requests.rst b/doc/reference/internals/iproto/requests.rst index df2026d97..c0078d67e 100644 --- a/doc/reference/internals/iproto/requests.rst +++ b/doc/reference/internals/iproto/requests.rst @@ -82,6 +82,11 @@ Overview - 0x0c - Increment the LSN and do nothing else + * - :ref:`IPROTO_INSERT_ARROW ` + - 0x11 + - Iproto Insert Arrow data request. Available since + version :doc:`3.3.0 `. + * - :ref:`IPROTO_PING ` - 0x40 - Ping (:ref:`conn:ping() `) @@ -90,8 +95,6 @@ Overview - 0x49 - Share iproto version and supported features - - .. _internals-iproto-ok: IPROTO_OK @@ -392,6 +395,19 @@ are the same, but the LSN must be increased because a data-change must be recorded. The body is: nothing. +.. _internals-iproto-insert-arrow: + +IPROTO_INSERT_ARROW +------------------- + +Since version :doc:`3.3.0 `. + +Code: 0x11 +The body is a 2-item map: + +.. raw:: html + :file: images/iproto_insert_arrow.svg + .. _box_protocol-ping: diff --git a/prolog.rst b/prolog.rst index 4bcdce13c..a2722a5d9 100644 --- a/prolog.rst +++ b/prolog.rst @@ -34,7 +34,7 @@
-.. |iproto_version| replace:: 3 +.. |iproto_version| replace:: 10 .. |tcm_full_name| replace:: Tarantool Cluster Manager