@@ -466,18 +466,21 @@ method uses the Memcached's ``flush()`` method which purges and removes everythi
466
466
MongoDbStore
467
467
~~~~~~~~~~~~
468
468
469
- The locked resouce name is indexed in the ``_id `` field of the lock collection.
470
- An indexed field's value in MongoDB can be a maximum of 1024 bytes in length
471
- inclusive of structural overhead.
469
+ .. caution ::
470
+
471
+ The locked resouce name is indexed in the ``_id `` field of the
472
+ lock collection.
473
+ An indexed field's value in MongoDB can be a maximum of 1024 bytes in
474
+ length inclusive of structural overhead.
472
475
473
476
For more details see: https://docs.mongodb.com/manual/reference/limits/#Index-Key-Limit
474
477
475
478
.. caution ::
476
479
477
480
This store relies on all client and server nodes to have
478
481
synchronized clocks for lock expiry to occur at the correct time.
479
- To ensure locks don't expire prematurely; the ttl's should be set with enough
480
- extra time to account for any clock drift between nodes.
482
+ To ensure locks don't expire prematurely; the lock TTL should be set
483
+ with enough extra time to account for any clock drift between nodes.
481
484
482
485
A TTL index MUST BE used on MongoDB 2.2+ to automatically clean up expired locks.
483
486
@@ -495,8 +498,9 @@ to create the TTL index during setup.
495
498
496
499
For more details see: http://docs.mongodb.org/manual/tutorial/expire-data/
497
500
498
- writeConcern, readConcern and readPreference are not specified by MongoDbStore
499
- meaning the collection's settings will take effect.
501
+ ``writeConcern ``, ``readConcern `` and ``readPreference `` are not specified by
502
+ MongoDbStore meaning the collection's settings will take effect.
503
+
500
504
For more details see: https://docs.mongodb.com/manual/applications/replication/
501
505
502
506
RedisStore
0 commit comments