Skip to content

Commit d4e2153

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Lock] Explain 'retry' of lock stores over explicit 'no'
2 parents 0352b87 + 59faf76 commit d4e2153

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
@@ -394,18 +394,21 @@ The component includes the following built-in store types:
394394
Store Scope Blocking Expiring Sharing Serialization
395395
========================================================== ====== ======== ======== ======= =============
396396
:ref:`FlockStore <lock-store-flock>` local yes no yes no
397-
:ref:`MemcachedStore <lock-store-memcached>` remote no yes no yes
398-
:ref:`MongoDbStore <lock-store-mongodb>` remote no yes no yes
399-
:ref:`PdoStore <lock-store-pdo>` remote no yes no yes
400-
:ref:`DoctrineDbalStore <lock-store-dbal>` remote no yes no yes
397+
:ref:`MemcachedStore <lock-store-memcached>` remote retry yes no yes
398+
:ref:`MongoDbStore <lock-store-mongodb>` remote retry yes no yes
399+
:ref:`PdoStore <lock-store-pdo>` remote retry yes no yes
400+
:ref:`DoctrineDbalStore <lock-store-dbal>` remote retry yes no yes
401401
:ref:`PostgreSqlStore <lock-store-pgsql>` remote yes no yes no
402402
:ref:`DoctrineDbalPostgreSqlStore <lock-store-dbal-pgsql>` remote yes no yes no
403-
:ref:`RedisStore <lock-store-redis>` remote no yes yes yes
403+
:ref:`RedisStore <lock-store-redis>` remote retry yes yes yes
404404
:ref:`SemaphoreStore <lock-store-semaphore>` local yes no no no
405-
:ref:`ZookeeperStore <lock-store-zookeeper>` remote no no no no
406-
:ref:`DynamoDbStore <lock-store-dynamodb>` remote no yes no yes
405+
:ref:`ZookeeperStore <lock-store-zookeeper>` remote retry no no no
406+
:ref:`DynamoDbStore <lock-store-dynamodb>` remote retry yes no yes
407407
========================================================== ====== ======== ======== ======= =============
408408

409+
When the store does not support blocking locks, the Lock class will retry to acquire
410+
the lock in a non-blocking way until the lock is acquired.
411+
409412
.. tip::
410413

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

0 commit comments

Comments
 (0)