Skip to content

Commit 97d7569

Browse files
authored
Add info about max_id deprecation (#4599)
Fixes #3409
1 parent 7d6c1ba commit 97d7569

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/reference/reference_lua/box_space/_schema.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ box.space._schema
1212

1313
This space contains the following tuples:
1414

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
19-
:doc:`box.once() </reference/reference_lua/box_once>` blocks from the instance's
15+
* ``version``: version information for this Tarantool instance.
16+
* ``cluster``: the instance's replica set ID.
17+
* ``max_id`` (deprecated since `2.11.1 <https://github.com/tarantool/tarantool/releases/tag/2.11.1>`__): the maximal space ID.
18+
Use the :ref:`box.space._space.index[0]:max() <box_index-max>` function instead.
19+
* ``once...``: tuples that correspond to specific
20+
:ref:`box.once() <box-once>` blocks from the instance's
2021
:ref:`initialization file <index-init_label>`.
2122
The first field in these tuples contains the ``key`` value from the
2223
corresponding ``box.once()`` block prefixed with 'once' (e.g. `oncehello`),
@@ -25,8 +26,7 @@ box.space._schema
2526

2627
**Example:**
2728

28-
Here is what ``_schema`` contains in a typical installation (notice the
29-
tuples for two ``box.once()`` blocks, ``'oncebye'`` and ``'oncehello'``):
29+
In the example, the ``_schema`` space contains two ``box.once`` objects -- ``oncebye`` and ``oncehello``.
3030

3131
.. code-block:: tarantoolsession
3232

0 commit comments

Comments
 (0)