@@ -63,9 +63,9 @@ box.info.synchro
6363 That is, synchronous transactions work like asynchronous ones.
6464 `1 ` means that a successful WAL writing to the master is enough to commit.
6565
66- .. code-block :: console
66+ .. code-block :: tarantoolsession
6767
68- instance001> box.info.synchro
68+ app: instance001> box.info.synchro
6969 ---
7070 - queue:
7171 owner: 1
@@ -89,7 +89,7 @@ box.info.synchro
8989
9090 Check the current state of synchronous replication:
9191
92- .. code-block :: console
92+ .. code-block :: tarantoolsession
9393
9494 app:instance001> box.info.synchro
9595 ---
@@ -105,29 +105,29 @@ box.info.synchro
105105
106106 Create a space called ``sync `` and enable synchronous replication on this space:
107107
108- .. code-block :: console
108+ .. code-block :: tarantoolsession
109109
110110 app:instance001> s = box.schema.space.create("sync", {is_sync=true})
111111 ---
112112 ...
113113
114114 Then, create an index:
115115
116- .. code-block :: console
116+ .. code-block :: tarantoolsession
117117
118118 app:instance001> _ = s:create_index('pk')
119119 ---
120120 ...
121121
122- After that, use ``box.ctl.promote() `` function to claim a queue:
122+ After that, use ``box.ctl.promote() `` function to claim the queue:
123123
124- .. code-block :: console
124+ .. code-block :: tarantoolsession
125125
126126 app:instance001> box.ctl.promote()
127127
128128 Next, perform data manipulations:
129129
130- .. code-block :: console
130+ .. code-block :: tarantoolsession
131131
132132 app:instance001> require('fiber').new(function() box.space.sync:replace{1} end)
133133 ---
@@ -151,7 +151,7 @@ box.info.synchro
151151 If you call the ``box.info.synchro `` command again,
152152 you will see that now there are 3 transactions waiting in the queue:
153153
154- .. code-block :: console
154+ .. code-block :: tarantoolsession
155155
156156 app:instance001> box.info.synchro
157157 ---
0 commit comments