@@ -10,6 +10,8 @@ The keys are Tarantool constants that are either defined or mentioned in the
10
10
11
11
While the keys themselves are unsigned 8-bit integers, their values can have different types.
12
12
13
+ .. _internals-iproto-keys-basic :
14
+
13
15
Basic description
14
16
-----------------
15
17
@@ -132,6 +134,8 @@ General
132
134
- If ``IPROTO_FETCH_POSITION `` is **true **, returns a base64-encoded string representing
133
135
the position of the last selected tuple
134
136
137
+ .. _internals-iproto-keys-streams :
138
+
135
139
Streams
136
140
~~~~~~~
137
141
@@ -192,8 +196,7 @@ General replication
192
196
193
197
* - IPROTO_REPLICASET_UUID
194
198
- 0x25 |br | MP_STR
195
- - UUID of the replica set.
196
- Prior to Tarantool version 2.11, IPROTO_REPLICASET_UUID was called IPROTO_CLUSTER_UUID.
199
+ - Before Tarantool version 2.11, IPROTO_REPLICASET_UUID was called IPROTO_CLUSTER_UUID.
197
200
198
201
* - IPROTO_LSN
199
202
- 0x03 |br | MP_UINT
@@ -271,7 +274,7 @@ General replication
271
274
followed by an array of ids of instances whose rows won't be relayed to the replica.
272
275
Since v. :doc: `2.10.0 </release/2.10.0 >`
273
276
274
- .. _internals-iproto-keys-syncro -replication :
277
+ .. _internals-iproto-keys-synchro -replication :
275
278
276
279
Synchronous replication
277
280
~~~~~~~~~~~~~~~~~~~~~~~
@@ -319,6 +322,8 @@ Synchronous replication
319
322
320
323
All ``IPROTO_RAFT_* `` keys are used only in ``IPROTO_RAFT* `` requests.
321
324
325
+ .. _internals-iproto-keys-events :
326
+
322
327
Events and subscriptions
323
328
~~~~~~~~~~~~~~~~~~~~~~~~
324
329
@@ -342,6 +347,8 @@ Events and subscriptions
342
347
343
348
:ref: `Learn more about events and subscriptions in iproto <box-protocol-watchers >`.
344
349
350
+ .. _internals-iproto-keys-sql-specific :
351
+
345
352
SQL-specific
346
353
~~~~~~~~~~~~
347
354
@@ -460,7 +467,7 @@ Available IPROTO_FEATURES are the following:
460
467
in the request header). Learn more about :ref: `sending transaction commands <box_protocol-stream_transactions >`.
461
468
462
469
- ``IPROTO_FEATURE_ERROR_EXTENSION = 2 `` -- :ref: `MP_ERROR <msgpack_ext-error >`
463
- MsgPack extension support. Clients that don't support this feature will receive
470
+ MsgPack extension support. Clients that don't support this feature receive
464
471
error responses for :ref: `IPROTO_EVAL <box_protocol-eval >` and
465
472
:ref: `IPROTO_CALL <box_protocol-call >` encoded to string error messages.
466
473
@@ -606,7 +613,7 @@ IPROTO_ERROR_24
606
613
607
614
Code: 0x31.
608
615
609
- IPROTO_ERROR_24 is used in Tarantool versions prior to :doc: `2.4.1 </release/2.4.1 >`.
616
+ IPROTO_ERROR_24 is used in Tarantool versions before :doc: `2.4.1 </release/2.4.1 >`.
610
617
The key contains the error in the string format.
611
618
612
619
Since :doc: `Tarantool 2.4.1 </release/2.4.1 >`,
@@ -654,10 +661,10 @@ Code: 0x09.
654
661
When it comes to replicating synchronous transactions, the IPROTO_FLAGS key is included in the header.
655
662
The key contains an MP_UINT value of one or more bits:
656
663
657
- * IPROTO_FLAG_COMMIT (0x01) will be set if this is the last message for a transaction.
658
- * IPROTO_FLAG_WAIT_SYNC (0x02) will be set if this is the last message
664
+ * IPROTO_FLAG_COMMIT (0x01) is set if this is the last message for a transaction.
665
+ * IPROTO_FLAG_WAIT_SYNC (0x02) is set if this is the last message
659
666
for a transaction which cannot be completed immediately.
660
- * IPROTO_FLAG_WAIT_ACK (0x04) will be set if this is the last message for a synchronous transaction.
667
+ * IPROTO_FLAG_WAIT_ACK (0x04) is set if this is the last message for a synchronous transaction.
661
668
662
669
Example:
663
670
@@ -739,7 +746,7 @@ at least IPROTO_FIELD_NAME (0x00) and MP_STR, and IPROTO_FIELD_TYPE (0x01) and M
739
746
740
747
Additionally, if ``sql_full_metadata `` in the
741
748
:ref: `_session_settings <box_space-session_settings >` system space
742
- is TRUE, then the array will have these additional column maps
749
+ is TRUE, then the array has these additional column maps
743
750
which correspond to components described in the :ref: `box.execute() <box-sql_if_full_metadata >` section.
744
751
745
752
.. _internals-iproto-keys-sql_bind :
0 commit comments