@@ -466,18 +466,21 @@ method uses the Memcached's ``flush()`` method which purges and removes everythi
466466MongoDbStore
467467~~~~~~~~~~~~
468468
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.
472475
473476For more details see: https://docs.mongodb.com/manual/reference/limits/#Index-Key-Limit
474477
475478.. caution ::
476479
477480 This store relies on all client and server nodes to have
478481 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.
481484
482485A TTL index MUST BE used on MongoDB 2.2+ to automatically clean up expired locks.
483486
@@ -495,8 +498,9 @@ to create the TTL index during setup.
495498
496499For more details see: http://docs.mongodb.org/manual/tutorial/expire-data/
497500
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+
500504For more details see: https://docs.mongodb.com/manual/applications/replication/
501505
502506RedisStore
0 commit comments