Skip to content

Commit cc81ef4

Browse files
author
Bob Grabar
committed
DOCS-297 turned info into a note
1 parent f0dc84a commit cc81ef4

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

source/administration/monitoring.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ design patterns. In other situations, performance issues may indicate
228228
that the database may be operating at capacity and that it's time to
229229
add additional capacity to the database.
230230

231-
.. _administration-monitoring-locks:
232-
233231
Locks
234232
~~~~~
235233

source/core/sharding-internals.txt

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -352,22 +352,10 @@ sends all new writes to the "receiving" server. Finally,
352352
:program:`mongos` updates the chunk record in the :term:`config
353353
database` to reflect the new location of the chunk.
354354

355-
Distributed Locking
356-
```````````````````
357-
358-
The mongoDB distributed :ref:`locking <administration-monitoring-locks>`
359-
mechanism is used to coordinate activities across a multi-server mongoDB
360-
installation. In mongoDB versions 1.8 and earlier, the integrity of
361-
distributed locks depends critically on accurate timekeeping between all
362-
:program:`mongos` and :program:`mongod` instances creating the
363-
distributed locks. In particular, if the clock skew between
364-
:program:`mongos` instances grows beyond approximately 5 minutes, there
365-
is an increasing probability that locks will fail, resulting in data
366-
loss.
367-
368-
For this reason, we strongly recommend that all systems running with
369-
mongoDB versions 1.8 and earlier use Network Time Protocol (NTP) or
370-
otherwise ensure that all clocks are accurate.
355+
.. note:: Before MongoDB version 2.0, increasing clock skew between
356+
:program:`mongos` instances could lead to failed distributed locks
357+
and potential data loss, particularly if the skew exceeded 5 minutes.
358+
Always run ``ntpd`` to minimize clock skew.
371359

372360
.. _sharding-migration-thresholds:
373361

0 commit comments

Comments
 (0)