diff --git a/source/applications/map-reduce.txt b/source/applications/map-reduce.txt index f6251280c48..8ba90bc8159 100644 --- a/source/applications/map-reduce.txt +++ b/source/applications/map-reduce.txt @@ -238,7 +238,7 @@ These various tasks take the following locks: ``merge``, ``replace``, ``reduce``) take a write lock. .. versionchanged:: 2.4 - The V8 JavaScript engine, which became the default in 2.4 allows + The V8 JavaScript engine, which became the default in 2.4, allows multiple JavaScript operations to execute at the same time. Prior to 2.4, JavaScript code (i.e. ``map``, ``reduce``, ``finalize`` functions) executed in a single thread. diff --git a/source/reference/command/eval.txt b/source/reference/command/eval.txt index 8b1a0c9828f..1ab31490c22 100644 --- a/source/reference/command/eval.txt +++ b/source/reference/command/eval.txt @@ -155,7 +155,7 @@ eval - .. include:: /includes/fact-eval-authentication.rst .. versionchanged:: 2.4 - The V8 JavaScript engine, which became the default in 2.4 allows + The V8 JavaScript engine, which became the default in 2.4, allows multiple JavaScript operations to execute at the same time. Prior to 2.4, :dbcommand:`eval` executed in a single thread. diff --git a/source/reference/command/group.txt b/source/reference/command/group.txt index ed24576eca1..0922d9181bb 100644 --- a/source/reference/command/group.txt +++ b/source/reference/command/group.txt @@ -84,13 +84,16 @@ group groupings, use :dbcommand:`mapReduce`. Previous versions had a limit of 10,000 elements. + .. putting the blank line between the version changed directive + since the directive cannot seem to handle the include or the + list at all .. versionchanged:: 2.4 - - .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst + - .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst - - Prior to 2.4, the :dbcommand:`group` command took the - :program:`mongod` instance's JavaScript - lock, which blocked all other JavaScript execution. + - Prior to 2.4, the :dbcommand:`group` command took the + :program:`mongod` instance's JavaScript lock, which blocked + all other JavaScript execution. For the shell, MongoDB provides a wrapper method :method:`db.collection.group()`; however, the diff --git a/source/reference/method/db.collection.group.txt b/source/reference/method/db.collection.group.txt index 339db641db0..ac56a6decf5 100644 --- a/source/reference/method/db.collection.group.txt +++ b/source/reference/method/db.collection.group.txt @@ -72,8 +72,9 @@ db.collection.group() - .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst - - Prior to 2.4, the :method:`db.collection.group()` method took a - JavaScript lock. + - Prior to 2.4, the :method:`db.collection.group()` method took + the :program:`mongod` instance's JavaScript lock, which blocked + all other JavaScript execution. Consider the following examples of the :method:`db.collection.group()` method: diff --git a/source/reference/method/db.eval.txt b/source/reference/method/db.eval.txt index cba51112d91..53f498b44aa 100644 --- a/source/reference/method/db.eval.txt +++ b/source/reference/method/db.eval.txt @@ -113,9 +113,10 @@ db.eval() - .. include:: /includes/fact-eval-authentication.rst .. versionchanged:: 2.4 - The V8 JavaScript engine added in 2.4 allows multiple JavaScript - operations to run at the same time. Prior to 2.4, - :method:`db.eval()` would take a JavaScript lock. + The V8 JavaScript engine, which became the default in 2.4, allows + multiple JavaScript operations to execute at the same + time. Prior to 2.4, :method:`db.eval()` executed in a single + thread. .. seealso::