@@ -97,16 +97,33 @@ content: |
9797ref : 4.2-changes-slow-oplog-log-message-footnote
9898content : |
9999
100- Starting in version 4.2 (also available starting in 4.0.6), secondary members of a replica set now
101- :ref:`log oplog entries <slow-oplog>` that take longer than the slow
102- operation threshold to apply. These slow oplog messages are logged
103- for the secondaries in the :option:`diagnostic log <mongod
104- --logpath>` under the :data:`REPL` component with the text ``applied
105- op: <oplog entry> took <num>ms``. These slow oplog entries depend
106- only on the slow operation threshold. They do not depend on the log
107- levels (either at the system or component level), or the profiling
108- level, or the slow operation sample rate. The profiler does not
109- capture slow oplog entries.
100+ Starting in version 4.2 (also available starting in 4.0.6), secondary
101+ members of a replica set now :ref:`log oplog entries
102+ <slow-oplog-application>` that take longer than the slow operation
103+ threshold to apply. These slow oplog messages:
104+
105+ - Are logged for the secondaries in the
106+ :option:`diagnostic log <mongod --logpath>`.
107+
108+ - Are logged under the :data:`REPL` component with the text
109+ ``applied op: <oplog entry> took <num>ms``.
110+
111+ - Do not depend on the log levels (either at the system or component
112+ level)
113+
114+ - Do not depend on the profiling level.
115+
116+ - May be affected by :setting:`~operationProfiling.slowOpSampleRate`,
117+ depending on your MongoDB version:
118+
119+ - In MongoDB 4.2 and earlier, these slow oplog entries are not
120+ affected by the :setting:`~operationProfiling.slowOpSampleRate`.
121+ MongoDB logs all slow oplog entries regardless of the sample rate.
122+
123+ - In MongoDB 4.4 and later, these slow oplog entries are affected by
124+ the :setting:`~operationProfiling.slowOpSampleRate`.
125+
126+ The profiler does not capture slow oplog entries.
110127 ---
111128ref : 4.2-changes-type-0
112129content : |
0 commit comments