@@ -226,11 +226,11 @@ are linked into red-black tree ``uniq`` for fast lookup via their UUID.
226
226
We allocate new replica and assign an applier to it.
227
227
228
228
Note that replica state is driven by ``replica_on_applier_state_f ``
229
- trigger. We won't be juming into it right now but the important thing is
229
+ trigger. We won't be jumping into it right now but the important thing is
230
230
that this trigger sends ``fiber_cond_signal(&replicaset.applier.cond) ``
231
231
to the main replicaset instance.
232
232
233
- Now back to the caller, ie ``applier_sync_state ``. The replica
233
+ Now back to the caller, i.e. ``applier_sync_state ``. The replica
234
234
instances are created we continue walking over appliers
235
235
236
236
.. code-block :: c
@@ -278,7 +278,7 @@ and they are moved to global ``replicaset.hash`` tree.
278
278
...
279
279
rlist_swap(&replicaset.anon, &anon_replicas);
280
280
281
- At the end the anonimous replicas (which is not connected)
281
+ At the end the anonymous replicas (which is not connected)
282
282
are moved to global ``replicaset.anon ``. So we have
283
283
global ``replicaset `` fully consistent and ready for use.
284
284
@@ -293,14 +293,14 @@ Now we need to jump up to the initial caller ``bootstrap``.
293
293
replicaset_foreach(replica) {
294
294
// Walk over unique replicas
295
295
// from replicaset hash and
296
- // choose one with more advinsed
296
+ // choose one with more advanced
297
297
// vclock or one with lowest UUID
298
298
return leader;
299
299
300
300
We need to find out how exactly we should start, either
301
301
we are the master node or we should start from another
302
- node which is choosen as a cluster leader (ie it has
303
- most advansed vclock and low UUID).
302
+ node which is chosen as a cluster leader (i.e. it has
303
+ most advanced vclock and low UUID).
304
304
305
305
Bootstrap first replica
306
306
~~~~~~~~~~~~~~~~~~~~~~~
@@ -687,7 +687,7 @@ Replication in 2.x series
687
687
-------------------------
688
688
689
689
Generally replication in 2.x series very similar to 1.10 in ideas
690
- still there are some significant diffierences .
690
+ still there are some significant differences .
691
691
692
692
The initialization starts with ``box_cfg_xc ``.
693
693
@@ -748,7 +748,7 @@ with anonymous replication and we have some appliers running.
748
748
}
749
749
750
750
On a cold start if we gonna be an anonymous replica we just remember the
751
- setting in `replication_anon `. Then we continue bootstrap procesure
751
+ setting in `` replication_anon `` . Then we continue bootstrap procedure
752
752
(we don't consider local recovery for simplicity sake).
753
753
754
754
First we're trying to reify appliers.
0 commit comments