From eed9862a4b84ddfdde53e3c36f442e46d6da522c Mon Sep 17 00:00:00 2001 From: andf-mongodb Date: Tue, 11 May 2021 15:27:29 -0400 Subject: [PATCH 1/5] DOCS-14439, DOCS-14443 platform support remove rhel6 sles12 s390x --- source/includes/fact-platform-s390x-community.rst | 13 ++++++++++++- source/includes/fact-platform-s390x-enterprise.rst | 7 +++++-- .../fact-platform-support-enterprise-suse.rst | 5 ----- source/includes/fact-platform-support-suse.rst | 5 ----- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/source/includes/fact-platform-s390x-community.rst b/source/includes/fact-platform-s390x-community.rst index 8911eeaf0e4..d6bc1ebfa79 100644 --- a/source/includes/fact-platform-s390x-community.rst +++ b/source/includes/fact-platform-s390x-community.rst @@ -1,3 +1,14 @@ +.. note:: Platform Support EOL Notice + + .. list-table:: + :widths: 20 80 + :class: border-table + + * - SLES 12 s390x + - Support removed in MongoDB Community 4.4.7. + + | + .. list-table:: :header-rows: 1 :stub-columns: 1 @@ -22,7 +33,7 @@ - * - SLES 12 - - |checkmark| + - Removed starting in 4.4.7 - 4.2.0 - 4.2.9 - 4.0.6 - 4.0.13 - diff --git a/source/includes/fact-platform-s390x-enterprise.rst b/source/includes/fact-platform-s390x-enterprise.rst index 55e23dbbfe1..a64d5ec2223 100644 --- a/source/includes/fact-platform-s390x-enterprise.rst +++ b/source/includes/fact-platform-s390x-enterprise.rst @@ -5,7 +5,10 @@ :class: border-table * - RHEL 6 s390x - - Support removed in MongoDB 4.4+ Enterprise. + - Support removed in MongoDB Enterprise 4.4+. + + * - SLES 12 s390x + - Support removed in MongoDB Enterprise 4.4.7. | @@ -33,7 +36,7 @@ - 3.6.0 - 3.6.13 * - SLES 12 - - |checkmark| + - Removed starting in 4.4.7 - |checkmark| - 4.0.6+ - 3.6.0 - 3.6.16 diff --git a/source/includes/fact-platform-support-enterprise-suse.rst b/source/includes/fact-platform-support-enterprise-suse.rst index 072cc6f0063..8b7b214b923 100644 --- a/source/includes/fact-platform-support-enterprise-suse.rst +++ b/source/includes/fact-platform-support-enterprise-suse.rst @@ -8,11 +8,6 @@ MongoDB {+version+} Enterprise Edition supports the following MongoDB only supports the 64-bit versions of these platforms. -MongoDB {+version+} Enterprise Edition on -:abbr:`SLES (SUSE Linux Enterprise Server)` also supports the -:ref:`s390x ` architecture on -select platforms. - See :ref:`prod-notes-supported-platforms` for more information. .. include:: /includes/admonition-wsl.rst diff --git a/source/includes/fact-platform-support-suse.rst b/source/includes/fact-platform-support-suse.rst index 93743e78f8c..a6d0fc7953d 100644 --- a/source/includes/fact-platform-support-suse.rst +++ b/source/includes/fact-platform-support-suse.rst @@ -8,11 +8,6 @@ MongoDB {+version+} Community Edition supports the following MongoDB only supports the 64-bit versions of these platforms. -MongoDB {+version+} Community Edition on -:abbr:`SLES (SUSE Linux Enterprise Server)` also supports the -:ref:`s390x ` architecture on -select platforms. - See :ref:`prod-notes-supported-platforms` for more information. .. include:: /includes/admonition-wsl.rst From c065008ed12820f4a402ae6c738d2e61a9e108b1 Mon Sep 17 00:00:00 2001 From: andf-mongodb Date: Wed, 9 Jun 2021 13:34:00 -0400 Subject: [PATCH 2/5] DOCS-14360 correct missing kmipClientCertificateSelector support --- source/reference/configuration-options.txt | 4 ++-- source/reference/program/mongod.txt | 2 +- source/release-notes/4.0.txt | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/source/reference/configuration-options.txt b/source/reference/configuration-options.txt index 66865855378..c0762036ed2 100644 --- a/source/reference/configuration-options.txt +++ b/source/reference/configuration-options.txt @@ -2734,7 +2734,7 @@ Key Management Configuration Options *Type*: string - .. versionadded:: 4.0 + .. versionadded:: 4.0 (and 4.2.15 and 4.4.7) Available on Windows and macOS as an alternative to :setting:`security.kmip.clientCertificateFile`. @@ -2750,7 +2750,7 @@ Key Management Configuration Options where the property can be one of the following: .. include:: /includes/extracts/ssl-facts-certificate-selector-properties.rst - + .. include:: /includes/fact-enterprise-only-admonition.rst diff --git a/source/reference/program/mongod.txt b/source/reference/program/mongod.txt index 070a3418d0f..ae58393fa02 100644 --- a/source/reference/program/mongod.txt +++ b/source/reference/program/mongod.txt @@ -3345,7 +3345,7 @@ Encryption Key Management Options .. option:: --kmipClientCertificateSelector - .. versionadded:: 4.0 + .. versionadded:: 4.0 (and 4.2.15 and 4.4.7) Available on Windows and macOS as an alternative to :option:`--kmipClientCertificateFile`. diff --git a/source/release-notes/4.0.txt b/source/release-notes/4.0.txt index aec3cc764d1..d188c088980 100644 --- a/source/release-notes/4.0.txt +++ b/source/release-notes/4.0.txt @@ -1005,9 +1005,8 @@ and macOS for internal TLS/SSL communication within a cluster. The option :option:`--kmipClientCertificateSelector ` (:setting:`security.kmip.clientCertificateSelector`) allows -:binary:`~bin.mongod` and :binary:`~bin.mongos` to use system TLS/SSL -certificate stores for Windows and macOS when using TLS/SSL connection to the -KMIP server. +:binary:`~bin.mongod` to use system TLS/SSL certificate stores for +Windows and macOS when using TLS/SSL connection to the KMIP server. .. _4.0-deprecate-mmapv1: From 63f1d33559a0136e0237c15580ffd8c397c6cfb3 Mon Sep 17 00:00:00 2001 From: andf-mongodb Date: Fri, 11 Jun 2021 16:27:45 -0400 Subject: [PATCH 3/5] DOCS-14391 add replWriterMinThreadCount param --- source/reference/parameters.txt | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index 028955880ff..87f7d6127ad 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -2179,11 +2179,40 @@ Logical Session |mongod-only| - Number of threads to use to apply replicated operations in parallel. - Values can range from 1 to 256 inclusive. You can only set + Maximum number of threads to use to apply replicated operations in + parallel. Values can range from 1 to 256 inclusive. You can only set :parameter:`replWriterThreadCount` at startup and cannot change this setting with the :dbcommand:`setParameter` command. + .. seealso:: + + :parameter:`replWriterMinThreadCount` + +.. parameter:: replWriterMinThreadCount + + .. versionadded:: 5.0 + + *Type*: integer + + *Default*: 0 + + |mongod-only| + + Minimum number of threads to use to apply replicated operations in + parallel. Values can range from 0 to 256 inclusive. You can only set + :parameter:`replWriterMinThreadCount` at startup and cannot change + this setting with the :dbcommand:`setParameter` command. + + Parallel application of replication operations uses up to + :parameter:`replWriterThreadCount` threads. If + :parameter:`replWriterMinThreadCount` is configured with a value + less than :parameter:`replWriterThreadCount`, the thread pool will + timeout idle threads until the total count of threads in the thread + pool is equal to :parameter:`replWriterMinThreadCount`. + + :parameter:`replWriterMinThreadCount` must be configured with a value + that is less than or equal to :parameter:`replWriterThreadCount`. + .. parameter:: rollbackTimeLimitSecs *Type*: 64-bit integer From 0f7bae20df8530e2a70e69aac4db53b25ba85d16 Mon Sep 17 00:00:00 2001 From: andf-mongodb <55111344+andf-mongodb@users.noreply.github.com> Date: Mon, 14 Jun 2021 13:24:37 -0400 Subject: [PATCH 4/5] DOCS-14391 Fix added version for v4.4.7 --- source/reference/parameters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index 87f7d6127ad..cd8944fee9f 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -2190,7 +2190,7 @@ Logical Session .. parameter:: replWriterMinThreadCount - .. versionadded:: 5.0 + .. versionadded:: 4.4.7 *Type*: integer From b96b595a6d7f53cf31c69d18553e96c3fc6ee6f1 Mon Sep 17 00:00:00 2001 From: Jason Price Date: Fri, 23 Oct 2020 15:16:39 -0700 Subject: [PATCH 5/5] DOCS-13533 Validate should limit memory use --- source/reference/command/validate.txt | 17 +++++++++++++++++ source/reference/parameters.txt | 15 +++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/source/reference/command/validate.txt b/source/reference/command/validate.txt index e0d433f4c6f..5df7e9597b0 100644 --- a/source/reference/command/validate.txt +++ b/source/reference/command/validate.txt @@ -278,6 +278,23 @@ Specify :ref:`full: true ` for more detailed output. *Available starting in MongoDB 4.2 (and 4.0.10+ and 3.6.13+)* +.. data:: validate.corruptRecords + + An array of ``RecordId`` values for documents that are unreadable, + possibly because the data is damaged. These documents are reported as + corrupt during validation. A ``RecordId`` is a 64-bit integer + internal key that uniquely identifies a document in a collection. + + .. code-block:: javascript + :copyable: false + + "corruptRecords" : [ + NumberLong(1), // RecordId 1 + NumberLong(2) // RecordId 2 + ] + + .. versionadded:: 4.4.7 + .. data:: validate.ok An integer with the value ``1`` when the command succeeds. If the diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index cd8944fee9f..330c17542b5 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -251,6 +251,21 @@ Authentication Parameters start-up, and cannot change this setting with the :dbcommand:`setParameter` database command. +.. parameter:: maxValidateMemoryUsageMB + + .. versionadded:: 4.4.7 + + *Default*: 200 + + The maximum memory usage limit in megabytes for the + :dbcommand:`validate` command. If the limit is exceeded, + :dbcommand:`validate` returns as many results as possible and warns + that not all corruption might be reported because of the limit. + + You can set :parameter:`maxValidateMemoryUsageMB` during startup, and + can change this setting using the :dbcommand:`setParameter` database + command. + .. parameter:: ocspEnabled .. versionadded:: 4.4