Skip to content

Commit dd61ac8

Browse files
author
Joe Bennett
committed
#27345 removed support for mongodb <2.2
1 parent d00e395 commit dd61ac8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/lock.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ MongoDbStore
276276

277277
The ``MongoDbStore`` was introduced in Symfony 4.4.
278278

279-
The MongoDbStore saves locks on a MongoDB server, it requires a
279+
The MongoDbStore saves locks on a MongoDB server ``^2.2``, it requires a
280280
``\MongoDB\Client`` connection from `mongodb/mongodb`_. This store does not
281281
support blocking and expects a TTL to avoid stalled locks::
282282

@@ -589,7 +589,7 @@ MongoDbStore
589589
collection. Beware that in MongoDB an indexed field's value can be
590590
`a maximum of 1024 bytes in length`_ inclusive of structural overhead.
591591

592-
A TTL index MUST BE used on MongoDB 2.2+ to automatically clean up expired locks.
592+
A TTL index MUST BE used to automatically clean up expired locks.
593593
Such an index can be created manually:
594594

595595
.. code-block:: javascript
@@ -605,8 +605,8 @@ about `Expire Data from Collections by Setting TTL`_ in MongoDB.
605605

606606
.. tip::
607607

608-
``MongoDbStore`` will attempt to automatically create a TTL index on MongoDB
609-
2.2+. It's recommended to set constructor option ``gcProbablity = 0.0`` to
608+
``MongoDbStore`` will attempt to automatically create a TTL index.
609+
It's recommended to set constructor option ``gcProbablity = 0.0`` to
610610
disable this behavior if you have manually dealt with TTL index creation.
611611

612612
.. caution::

0 commit comments

Comments
 (0)