diff --git a/snooty.toml b/snooty.toml index 50d4a3ed57f..7e78dfe9b2d 100644 --- a/snooty.toml +++ b/snooty.toml @@ -171,6 +171,7 @@ toc_landing_pages = [ "/tutorial/install-mongodb-on-suse", "/tutorial/install-mongodb-on-ubuntu", "/tutorial/install-mongodb-on-windows", + "/tutorial/manage-the-database-profiler", "/tutorial/query-documents", "/tutorial/remove-documents", "/tutorial/update-documents" diff --git a/source/reference/database-profiler.txt b/source/reference/database-profiler.txt index 899b6cad566..43372deaa94 100644 --- a/source/reference/database-profiler.txt +++ b/source/reference/database-profiler.txt @@ -30,8 +30,6 @@ use normal MongoDB queries on the :data:`system.profile database, the profiler will profile some write activity, even for databases that are otherwise read-only. -.. versionchanged:: 3.4 - :dbcommand:`currentOp` and the :doc:`database profiler` report the same basic diagnostic information for all CRUD operations, including the @@ -39,6 +37,11 @@ following: .. include:: /includes/fact-diagnostic-info.rst +Starting in MongoDB 4.4, it is no longer possible to perform any +operation, including reads, on the :data:`system.profile +<.system.profile>` collection from within a +:doc:`transaction `. + Example ``system.profile`` Document ----------------------------------- diff --git a/source/tutorial/manage-the-database-profiler.txt b/source/tutorial/manage-the-database-profiler.txt index f1455513aa7..220c04a87a9 100644 --- a/source/tutorial/manage-the-database-profiler.txt +++ b/source/tutorial/manage-the-database-profiler.txt @@ -357,6 +357,11 @@ To view profiling information, query the :data:`system.profile :ref:`database-profiling-example-queries`. For an explanation of the output data, see :doc:`/reference/database-profiler`. +Starting in MongoDB 4.4, it is no longer possible to perform any +operation, including reads, on the :data:`system.profile +<.system.profile>` collection from within a +:doc:`transaction `. + .. tip:: You can use :query:`$comment` to add data to the query predicate to