@@ -7,8 +7,9 @@ Option: ``box_info_cluster_meaning``
77
88Starting from version 3.0, the :ref: `box_info_cluster ` table stores the information
99about the entire cluster. In earlier versions, it stored only the current replica set
10- information. The ``box_info_cluster_meaning `` compat option allows to define the
11- the scope of ``box.info.cluster ``: the entire cluster or a single replica set.
10+ information. The ``box_info_cluster_meaning `` compat option in Tarantool 3.0 or later
11+ allows to rollback to the old meaning of ``box.info.cluster `` - display information
12+ about a single replica set.
1213
1314Old and new behavior
1415--------------------
@@ -24,13 +25,13 @@ cluster with all its replica sets.
2425
2526 tarantool> box.info.cluster
2627 ---
27- - <cluster information>
28+ - name: my_cluster
2829 ...
2930
3031 tarantool> box.info.replicaset
3132 ---
32- - uuid: <replicaset uuid>
33- - <... other attributes of the replicaset>
33+ - uuid: 0a3ff0c7-9075-441c-b0f5-b93a24be07cb
34+ name: router-001
3435 ...
3536
3637 .. note ::
@@ -47,14 +48,14 @@ Old behavior: ``box.info.cluster`` displays information about the current replic
4748
4849 tarantool> box.info.cluster
4950 ---
50- - uuid: <replicaset uuid>
51- - <... other attributes of the replicaset>
51+ - uuid: 0a3ff0c7-9075-441c-b0f5-b93a24be07cb
52+ name: router-001
5253 ...
5354
5455 tarantool> box.info.replicaset
5556 ---
56- - uuid: <replicaset uuid>
57- - <... other attributes of the replicaset>
57+ - uuid: 0a3ff0c7-9075-441c-b0f5-b93a24be07cb
58+ name: router-001
5859 ...
5960
6061 Known compatibility issues
@@ -69,4 +70,4 @@ Detecting issues in your codebase
6970Look for all usages of ``box.info.cluster ``, ``info.cluster ``, and
7071``.cluster ``, ``['cluster'] ``, ``["cluster"] `` in the application code
7172written before the change. To make it work the same way on Tarantool 3.0 or later,
72- replace the ``cluster `` key with ``replicaset ``.
73+ replace the ``cluster `` key with ``replicaset ``.
0 commit comments