Skip to content

Commit 59faf76

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: [Lock] Explain 'retry' of lock stores over explicit 'no'
2 parents c5a6c3f + 4e5bee0 commit 59faf76

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

components/lock.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,18 +399,21 @@ The component includes the following built-in store types:
399399
Store Scope Blocking Expiring Sharing Serialization
400400
========================================================== ====== ======== ======== ======= =============
401401
:ref:`FlockStore <lock-store-flock>` local yes no yes no
402-
:ref:`MemcachedStore <lock-store-memcached>` remote no yes no yes
403-
:ref:`MongoDbStore <lock-store-mongodb>` remote no yes no yes
404-
:ref:`PdoStore <lock-store-pdo>` remote no yes no yes
405-
:ref:`DoctrineDbalStore <lock-store-dbal>` remote no yes no yes
402+
:ref:`MemcachedStore <lock-store-memcached>` remote retry yes no yes
403+
:ref:`MongoDbStore <lock-store-mongodb>` remote retry yes no yes
404+
:ref:`PdoStore <lock-store-pdo>` remote retry yes no yes
405+
:ref:`DoctrineDbalStore <lock-store-dbal>` remote retry yes no yes
406406
:ref:`PostgreSqlStore <lock-store-pgsql>` remote yes no yes no
407407
:ref:`DoctrineDbalPostgreSqlStore <lock-store-dbal-pgsql>` remote yes no yes no
408-
:ref:`RedisStore <lock-store-redis>` remote no yes yes yes
408+
:ref:`RedisStore <lock-store-redis>` remote retry yes yes yes
409409
:ref:`SemaphoreStore <lock-store-semaphore>` local yes no no no
410-
:ref:`ZookeeperStore <lock-store-zookeeper>` remote no no no no
411-
:ref:`DynamoDbStore <lock-store-dynamodb>` remote no yes no yes
410+
:ref:`ZookeeperStore <lock-store-zookeeper>` remote retry no no no
411+
:ref:`DynamoDbStore <lock-store-dynamodb>` remote retry yes no yes
412412
========================================================== ====== ======== ======== ======= =============
413413

414+
When the store does not support blocking locks, the Lock class will retry to acquire
415+
the lock in a non-blocking way until the lock is acquired.
416+
414417
.. tip::
415418

416419
Symfony includes two other special stores that are mostly useful for testing:

0 commit comments

Comments
 (0)