Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd61ac8

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎components/lock.rst

Copy file name to clipboardExpand all lines: components/lock.rst
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.