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
Copy file name to clipboardExpand all lines: doc/reference/reference_lua/box_space/_schema.rst
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,16 @@ box.space._schema
12
12
13
13
This space contains the following tuples:
14
14
15
-
* ``version`` tuple with version information for this Tarantool instance,
16
-
* ``cluster`` tuple with the instance's replica set ID,
17
-
* ``max_id`` tuple with the maximal space ID,
18
-
* ``once...`` tuples that correspond to specific
15
+
* ``version``: version information for this Tarantool instance.
16
+
* ``replicaset_name`` (since :doc:`3.0.0 <release/3.0.0>`): the name of a replica set to which this instance belongs.
17
+
* ``replicaset_uuid``: the instance's replica set UUID. In the version :doc:`3.0.0 <release/3.0.0>`, the field was renamed from ``cluster`` to ``replicaset_uuid``.
18
+
* ``max_id`` (deprecated since :doc:`2.11.1 <https://github.com/tarantool/tarantool/releases/tag/2.11.1>`__): the maximal space ID.
19
+
Use the ``_space:max()`` function instead.
20
+
* ``once...``: tuples that correspond to specific
19
21
:doc:`box.once() </reference/reference_lua/box_once>` blocks from the instance's
20
22
:ref:`initialization file <index-init_label>`.
21
23
The first field in these tuples contains the ``key`` value from the
22
-
corresponding ``box.once()`` block prefixed with 'once' (e.g. `oncehello`),
24
+
corresponding ``box.once()`` block prefixed with 'once' (for example, ``oncehello``),
23
25
so you can easily find a tuple that corresponds to a specific
24
26
``box.once()`` block.
25
27
@@ -28,12 +30,11 @@ box.space._schema
28
30
Here is what ``_schema`` contains in a typical installation (notice the
29
31
tuples for two ``box.once()`` blocks, ``'oncebye'`` and ``'oncehello'``):
0 commit comments