@@ -196,7 +196,7 @@ PHP process is terminated::
196
196
197
197
Beware that some file systems (such as some types of NFS) do not support
198
198
locking. In those cases, it's better to use a directory on a local disk
199
- drive or a remote store based on Pdo , Redis or Memcached.
199
+ drive or a remote store based on PDO , Redis or Memcached.
200
200
201
201
.. _lock-store-memcached :
202
202
@@ -223,6 +223,9 @@ support blocking, and expects a TTL to avoid stalled locks::
223
223
PdoStore
224
224
~~~~~~~~
225
225
226
+ .. versionadded :: 4.2
227
+ The PdoStore was introduced Symfony 4.2.
228
+
226
229
227
230
The PdoStore saves locks in an SQL database, it requires a `PDO `_,
228
231
`Doctrine DBAL Connection `_, or `Data Source Name (DSN) `_. This store does not
@@ -475,21 +478,21 @@ method uses the Memcached's ``flush()`` method which purges and removes everythi
475
478
PdoStore
476
479
~~~~~~~~~~
477
480
478
- Pdo stores rely on the `ACID `_ properties of the SQL engine.
481
+ The PdoStore rely on the `ACID `_ properties of the SQL engine.
479
482
480
483
.. caution ::
481
484
482
485
In a cluster configured with multiple master, ensure writes are
483
- synchronously propaged to every nodes, or always use the same node.
486
+ synchronously propagated to every nodes, or always use the same node.
484
487
485
488
.. caution ::
486
489
487
490
Some SQL engine like MySQL allows to disable unique constraint check.
488
491
Ensure that this is not the case ``SET unique_checks=1; ``.
489
492
490
493
In order to purge old lock, this store use a current datetime to define a
491
- expiration date reference. This mechanism relies on all client and server nodes
492
- to have synchronized clock.
494
+ expiration date reference. This mechanism relies on all server nodes to
495
+ have synchronized clock.
493
496
494
497
.. caution ::
495
498
0 commit comments