Skip to content

DOCS-11897 add total number of committed, aborted, and started transa… #3422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 87 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
f2b9916
fix install osx step inheritance
kay-kim Aug 6, 2018
4ad7a4d
add txn and ddl behavior to prod considerations
kay-kim Aug 6, 2018
8cb490f
Fix typo usersinfo.txt
Aug 7, 2018
88d1f33
DOCSP-2910: clarify noIndexBuildRetry only for standalone means not r…
kay-kim Aug 7, 2018
f7cc9d5
DOCS-11888: upgrade to enterprise
kay-kim Aug 6, 2018
567f209
DOCS-11888: single source upgrade to enterprise content
kay-kim Aug 8, 2018
20a7fcf
trivial: fix underscore
kay-kim Aug 8, 2018
36eee73
add redirects fro upgrade to enterprise pages
kay-kim Aug 8, 2018
1cb34ee
DOCS-10588: repeat rolling index build blurg in unique index page
kay-kim Aug 8, 2018
db26c3a
DOCS-10588: forgot to change to gerund from infinitive
kay-kim Aug 8, 2018
a47e804
tweak word
kay-kim Aug 8, 2018
e74f9ac
DOCS-11934: remove chunk size limit of 250000 for jumbo chunks
kay-kim Aug 9, 2018
93c7553
DOCS-11936,DOCS-11937: fix secondaryThrottle and writeConcern
kay-kim Aug 7, 2018
f2f929d
DOCS-11936,DOCS-11937: true value also acceptable
kay-kim Aug 10, 2018
a155e99
DOCS-9180, DOCS-9725: tls mongo shell server certificate hostname val…
kay-kim Aug 9, 2018
7654350
typo fix: s/expresion/expression/
schmalliso Aug 13, 2018
84cd9c7
tweak: transactions
kay-kim Aug 14, 2018
9742876
typo
kay-kim Aug 14, 2018
d1bffab
tweak; transactions
kay-kim Aug 14, 2018
c242497
tweak: transactions parameters
kay-kim Aug 14, 2018
f35f9f3
DOCS-8514: dropDatabase and refresh mongos cache
kay-kim Aug 13, 2018
5cb9490
transaction 16MB limits add details
kay-kim Aug 15, 2018
a1d5c5b
fix typo
HosseinAgha Aug 7, 2018
2667a2d
DOCS-11969: fix examples in reverseArray
kay-kim Aug 16, 2018
ccc2ffd
DOCS-11970: pass in just value to convertShardKeyToHashed
kay-kim Aug 16, 2018
7eba401
DOCSP-2852: typo
kay-kim Aug 16, 2018
7061dcf
DOCS-11613 - Remove circular hyperlinks on the Storage Node Watchdog.
jdestefano-mongo Aug 16, 2018
cefa79c
minor: fix featureCompatibilityVersion typo
ksuarz Aug 16, 2018
2b94710
minor: paragraph wrapping
schmalliso Jun 29, 2018
01fa14d
DOCS-11202: mongo connections using srv format will prompt for username
schmalliso Jun 29, 2018
2316ea5
DOCS-11968: upcoming 3.6.7
kay-kim Aug 16, 2018
e14c524
fix mongo host option typo
kay-kim Aug 16, 2018
789034a
DOCS-11922: add python example
kay-kim Aug 16, 2018
662f3e7
minor: fix typos in oplog resizing tutorial
ksuarz Aug 16, 2018
f74401e
add clarification for txn and oplog
kay-kim Aug 20, 2018
2dc9938
DOCS-11099: tweak wording for key for \$geoNear and deprecated geoNea…
kay-kim Aug 21, 2018
bdaf8bd
DOCSP-3113: update links to driver docs
kay-kim Aug 23, 2018
510c512
Add notes for phase 1 of 20 docs in 20 days
kirbyk Aug 24, 2018
a56ed14
DOCS-11999: 4.0.2-upcoming
kay-kim Aug 25, 2018
045d07e
DOCS-11968: 3.6.7 release
kay-kim Aug 25, 2018
57b8b89
DOCS-11999: 4.0.2-upcoming typo
kay-kim Aug 25, 2018
79d19eb
minor: emphasize that group cmd is deprecated
schmalliso Aug 23, 2018
b14f40d
DOCS-11999: 4.0.2 GA - removes upcoming
schmalliso Aug 30, 2018
43d62d7
Bump to 4.0.2
i80and Aug 30, 2018
364d08c
DOCS-10488: appendix test openssl certificates
kay-kim Jul 26, 2018
f006d04
DOCS-10488: add redirects
kay-kim Sep 4, 2018
6709183
DOCSP-11787 fix linker issue
Sep 4, 2018
a3d5b8f
DOCS-11997 Document that $expr cannot use a multikey index
Sep 4, 2018
ba411c3
DOCS-11904: maxSessions parameter
kay-kim Aug 25, 2018
421bfd2
DOCS-12005: 3.2.21 upcoming
kay-kim Sep 5, 2018
14dd46b
DOCS-12010: 3.4.17 upcoming
kay-kim Sep 5, 2018
26e9f12
DOCS-11977: point to 3.6 docs for 3.6.1-3.6.x disable majority read …
kay-kim Sep 5, 2018
6fba10e
DOCS-11866, DOCS-11882: updates to causally consistent sessions
kay-kim Aug 13, 2018
19e15ad
DOCS-11866: add redirects
kay-kim Sep 5, 2018
7f659da
Update db.collection.validate.txt
jameswahlin Sep 5, 2018
e110dec
trivial: fix highlight row offset
kay-kim Sep 6, 2018
32dd096
trivial reorg for TLS/SSL and encryption at rest
kay-kim Sep 6, 2018
b71d091
DOCS-11920: \$text and \$elemMatch restriction
kay-kim Sep 6, 2018
60dca03
Tweak: some tweak on installation pages (mainly ubuntu)
kay-kim Sep 7, 2018
e60cdce
DOCS-12005: 3.2.21 release
kay-kim Sep 7, 2018
1a027fc
DOCS-12010: 3.4.17 release
kay-kim Sep 7, 2018
a502096
trivial: tweak sentence in ubuntu install step
kay-kim Sep 7, 2018
fd323bc
tweak: sentence
kay-kim Sep 7, 2018
abbef93
(DOCS-11844): Updated ObjectID description.
Jul 12, 2018
be4412e
DOCS-6171: replica state startup2 and vote eligibility
kay-kim Sep 7, 2018
70a9713
DOCS-12041: prep for 3.6.8 rc
kay-kim Sep 10, 2018
cbbf939
DOCS-11717: Remove Debian 7 support for 3.2.21
i80and Sep 11, 2018
5f2d5e7
DOCS-12043: field name restriction clarification
kay-kim Sep 11, 2018
b8d8ef2
docsp-3251: mongo shell updates
kay-kim Sep 11, 2018
bc544d5
Add cpp example for txn
kay-kim Sep 13, 2018
77e36fa
Add slack channel links to community support sections
kay-kim Sep 14, 2018
d4c0572
Change Atlas CTA to use security specific link
kirbyk Sep 17, 2018
6095d8e
Use iconb instead of icon
kay-kim Sep 17, 2018
8fcc03e
trivial: spacing fix for rendering issue
kay-kim Sep 17, 2018
e0bb382
add read/writeanyrole to user created in enable auth + remove unused …
kay-kim Sep 17, 2018
16aee37
tweak enable auth: explicitly state disconnect as userAdmin
kay-kim Sep 18, 2018
29b2548
DOCS-12040: dns logical hostname
kay-kim Sep 18, 2018
3e474c3
DOCS-11901: add blurbs to invalidate operations pages
kay-kim Sep 13, 2018
03c95b1
add missing redirects for read concern pages
kay-kim Sep 19, 2018
08a248d
trivial: fix indentation in paragraph
kay-kim Sep 19, 2018
f3181fb
DOCS-12039 Document valid values for cursorTimeoutMillis parameter
Sep 10, 2018
a7b331c
trivial: remove errant words
kay-kim Sep 19, 2018
bc3fd14
DOCS-11114: no longer support text search with RLP
kay-kim Sep 2, 2018
6dc9fc3
Fix session start with readPref
kay-kim Sep 19, 2018
60b45ce
DOCS-12041: 3.6.8 release
kay-kim Sep 20, 2018
d51953a
Redundant word removed.
Karsten7 Sep 20, 2018
de5e415
DOCS-11897 add total number of committed, aborted, and started transa…
Sep 17, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ examples:

# c
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-c-driver/master/src/libmongoc/tests/test-mongoc-sample-commands.c -o ${DRIVERS_PATH}/test-mongoc-sample-commands.c

# c++
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/src/mongocxx/test/transactions.cpp -o ${DRIVERS_PATH}/cpp-transactions.cpp
2 changes: 2 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def has(self, *args):

needs_sphinx = '1.0'

#--- the following is a list of python files

extensions = [
'sphinx.ext.extlinks',
'sphinx.ext.todo',
Expand Down
2 changes: 1 addition & 1 deletion config/build_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ project:
branched: true
siteroot: true
version:
release: '4.0.1'
release: '4.0.2'
branch: '4.0'
system:
files:
Expand Down
18 changes: 18 additions & 0 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,11 @@ raw: /master/release-notes/3.0-general-improvements -> ${base}/release-notes/3.0

# Redirects for 3.6 or earlier (i.e. before 4.0)

[v3.0-v3.6]: /${version}/appendix/security -> ${base}/${version}/security
[v3.0-v3.6]: /${version}/appendix/security/appendixA-openssl-ca -> ${base}/${version}/security
[v3.0-v3.6]: /${version}/appendix/security/appendixB-openssl-server -> ${base}/${version}/security
[v3.0-v3.6]: /${version}/appendix/security/appendixC-openssl-client -> ${base}/${version}/security

[*-v3.6]: /${version}/release-notes/4.0 -> ${base}/${version}/release-notes
[*-v3.6]: /${version}/release-notes/4.0-compatibility -> ${base}/${version}/release-notes
[*-v3.6]: /${version}/release-notes/4.0-upgrade-standalone -> ${base}/${version}/release-notes
Expand All @@ -1415,11 +1420,21 @@ raw: /master/release-notes/3.0-general-improvements -> ${base}/release-notes/3.0
[*-v3.6]: /${version}/release-notes/4.0-downgrade-replica-set -> ${base}/${version}/release-notes
[*-v3.6]: /${version}/release-notes/4.0-downgrade-sharded-cluster -> ${base}/${version}/release-notes
[*-v3.6]: /${version}/reference/configuration-file-settings-command-line-options-mapping -> ${base}/${version}/reference/configuration-options
[v3.0-v3.6]: /${version}/administration/upgrade-community-to-enterprise -> ${base}/${version}/installation
[v3.0-v3.6]: /${version}/tutorial/upgrade-to-enterprise-standalone -> ${base}/${version}/installation
[v3.0-v3.6]: /${version}/tutorial/upgrade-to-enterprise-replica-set -> ${base}/${version}/installation
[v3.0-v3.6]: /${version}/tutorial/upgrade-to-enterprise-sharded-cluster -> ${base}/${version}/installation



[*-v3.6]: /${version}/reference/method/db.watch -> ${base}/${version}/changeStreams
[*-v3.6]: /${version}/reference/method/Mongo.watch -> ${base}/${version}/changeStreams

[*-v3.4]: /${version}/reference/read-concern-linearizable -> ${base}/${version}/reference/read-concern
[*-v3.4]: /${version}/reference/read-concern-local -> ${base}/${version}/reference/read-concern
[*-v3.4]: /${version}/reference/read-concern-available -> ${base}/${version}/reference/read-concern
[*-v3.4]: /${version}/reference/read-concern-majority -> ${base}/${version}/reference/read-concern

[*-v3.6]: /${version}/reference/read-concern-snapshot -> ${base}/${version}/reference/read-concern
[*-v3.6]: /${version}/core/transactions -> ${base}/${version}/core/write-operations-atomicity
[*-v3.6]: /${version}/reference/method/Session.abortTransaction -> ${base}/${version}/core/write-operations-atomicity
Expand All @@ -1437,6 +1452,9 @@ raw: /master/release-notes/3.0-general-improvements -> ${base}/release-notes/3.0
[*-v3.6]: /${version}/reference/method/js-free-monitoring. -> ${base}/${version}/administration/monitoring


[*-v3.4]: /${version}/core/causal-consistency-read-write-concerns -> ${base}/${version}/core/read-isolation-consistency-recency
[*-v3.4]: /${version}/core/security-encryption -> ${base}/${version}/security

# 2.8 compatibility
#
# [*]: /${version}/release-notes/2.8-downgrade -> ${base}/${version}/release-notes
Expand Down
1 change: 1 addition & 0 deletions config/sphinx_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ theme:
- /core/authentication
- /core/authorization
- /core/backups
- /core/read-isolation-consistency-recency
- /core/databases-and-collections
- /core/geohaystack
- /core/index-single
Expand Down
21 changes: 15 additions & 6 deletions source/administration/monitoring.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Monitoring for MongoDB
:depth: 1
:class: singlecol

.. note::

For a MongoDB-specific monitoring, you can try the monitoring within MongoDB
Atlas, our fully-managed database-as-a-service. It automatically collects
and displays metrics on the state of your cluster’s databases and on server
usage. `Set up a free cluster to try it out
<https://www.mongodb.com/cloud/atlas/lp/general?utm_source=monitoring&utm_campaign=20-docs-in-20-days&utm_medium=docs>`_.

Monitoring is a critical component of all database administration. A
firm grasp of MongoDB's reporting will allow you to assess the state
of your database and maintain your deployment without crisis.
Expand Down Expand Up @@ -417,7 +425,8 @@ performing the same insert operation produces the following log event:
}

Use :setting:`~security.redactClientLogData` in conjunction with
:doc:`encryption </core/security-encryption>` to assist compliance with
:doc:`/core/security-encryption-at-rest` and
:doc:`/core/security-transport-encryption` to assist compliance with
regulatory requirements.

Diagnosing Performance Issues
Expand Down Expand Up @@ -570,13 +579,13 @@ Storage Node Watchdog

.. note:: Available only in MongoDB Enterprise. Not available on macOS.

The :ref:`Storage Node Watchdog <storage-node-watchdog>` monitors the
The Storage Node Watchdog monitors the
filesystems used by MongoDB to detect unresponsive conditions.

The :ref:`Storage Node Watchdog <storage-node-watchdog>` can be enabled with
The Storage Node Watchdog can be enabled with
the :parameter:`watchdogPeriodSeconds` parameter on a :binary:`~bin.mongod`.

When enabled, the :ref:`Storage Node Watchdog <storage-node-watchdog>`
When enabled, the Storage Node Watchdog
monitors the following directories:

* The :option:`--dbpath <mongod --dbpath>` directory
Expand All @@ -586,15 +595,15 @@ monitors the following directories:
* The directory of :option:`--auditPath <mongod --auditPath>` file

If any of the filesystems containing these directories become unresponsive,
the :ref:`Storage Node Watchdog <storage-node-watchdog>` terminates the
the Storage Node Watchdog terminates the
:binary:`~bin.mongod` and exits with a status code of 61. If the
:binary:`~bin.mongod` is serving as the :term:`primary`, terminating initiates
:term:`failover` allowing another member to become primary.

Once a :binary:`~bin.mongod` has terminated, it may not be possible to cleanly
restart it on the *same* machine.

The maximum time the :ref:`Storage Node Watchdog <storage-node-watchdog>` can
The maximum time the Storage Node Watchdog can
take to detect an unresponsive filesystem and terminate is nearly *twice* the
value of :parameter:`watchdogPeriodSeconds`.

Expand Down
27 changes: 27 additions & 0 deletions source/administration/upgrade-community-to-enterprise.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
===============================================
Upgrade MongoDB Community to MongoDB Enterprise
===============================================

.. default-domain:: mongodb

.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol

.. include:: /includes/extracts/enterprise-additional-features.rst

The documents in this section provide instructions to upgrade from
MongoDB Community Edition to MongoDB Enterprise Edition.

.. important::

.. include:: /includes/extracts/enterprise-upgrade-edition-only.rst

.. toctree::
:titlesonly:

/tutorial/upgrade-to-enterprise-standalone
/tutorial/upgrade-to-enterprise-replica-set
/tutorial/upgrade-to-enterprise-sharded-cluster
13 changes: 13 additions & 0 deletions source/appendix/security.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
========
Appendix
========

.. default-domain:: mongodb


.. toctree::
:titlesonly:

/appendix/security/appendixA-openssl-ca
/appendix/security/appendixB-openssl-server
/appendix/security/appendixC-openssl-client
170 changes: 170 additions & 0 deletions source/appendix/security/appendixA-openssl-ca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
.. _appendix-ca-certificate:

===============================================
Appendix A - OpenSSL CA Certificate for Testing
===============================================

.. default-domain:: mongodb

.. admonition:: Testing Purposes Only
:class: warning

The following tutorial provides some guidelines for creating
test x.509 certificates:

- Do not use these certificates for production. Instead, follow your
security policies.

- For information on OpenSSL, refer to the official OpenSSL docs.
Although this tutorial uses OpenSSL, the material should not be
taken as an authoritative reference on OpenSSL.

Procedures
----------

The following procedures outlines the steps to create a test CA PEM
file. The procedure creates both the CA PEM file and an intermediate
authority certificate and key files to sign server/client test
certificates.

A. Create the OpenSSL Configuration File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#. Create a configuration file ``openssl-test-ca.cnf`` with the
following content:

.. code-block:: cfg
:emphasize-lines: 29,34,38,42,46

# NOT FOR PRODUCTION USE. OpenSSL configuration file for testing.

# For the CA policy
[ policy_match ]
countryName = match
stateOrProvinceName = match
organizationName = match
organizationalUnitName = optional
commonName = supplied
emailAddress = optional

[ req ]
default_bits = 4096
default_keyfile = myTestCertificateKey.pem ## The default private key file name.
default_md = sha256 ## Use SHA-256 for Signatures
distinguished_name = req_dn
req_extensions = v3_req
x509_extensions = v3_ca # The extentions to add to the self signed cert

[ v3_req ]
subjectKeyIdentifier = hash
basicConstraints = CA:FALSE
keyUsage = critical, digitalSignature, keyEncipherment
nsComment = "OpenSSL Generated Certificate for TESTING only. NOT FOR PRODUCTION USE."
extendedKeyUsage = serverAuth, clientAuth

[ req_dn ]
countryName = Country Name (2 letter code)
countryName_default =
countryName_min = 2
countryName_max = 2

stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = TestCertificateStateName
stateOrProvinceName_max = 64

localityName = Locality Name (eg, city)
localityName_default = TestCertificateLocalityName
localityName_max = 64

organizationName = Organization Name (eg, company)
organizationName_default = TestCertificateOrgName
organizationName_max = 64

organizationalUnitName = Organizational Unit Name (eg, section)
organizationalUnitName_default = TestCertificateOrgUnitName
organizationalUnitName_max = 64

commonName = Common Name (eg, YOUR name)
commonName_max = 64

[ v3_ca ]
# Extensions for a typical CA

subjectKeyIdentifier=hash
basicConstraints = critical,CA:true
authorityKeyIdentifier=keyid:always,issuer:always

#. *Optional*. You can update the default Distinguished Name (DN)
values.

B. Generate the Test CA PEM File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#. Create the CA key file :file:`mongodb-test-ca.key`.

.. code-block:: sh

openssl genrsa -out mongodb-test-ca.key 4096

.. tip::

This private key is used to generate valid certificates for the
CA. Although this private key, like all files in this appendix,
is intended for testing purposes only, you should engage in good
security practices and secure this key file.

#. Create the CA certificate :file:`mongod-test-ca.crt` using the
generated key file. When asked for Distinguished Name values, enter
the appropriate values for your test CA certificate.

.. code-block:: sh

openssl req -new -x509 -days 1826 -key mongodb-test-ca.key -out mongodb-test-ca.crt -config openssl-test-ca.cnf

#. Create the private key for the intermediate certificate.

.. code-block:: sh

openssl genrsa -out mongodb-test-ia.key 4096

.. tip::

This private key is used to generate valid certificates for the
intermediate authority. Although this private key, like all files
in this appendix, is intended for testing purposes only, you
should engage in good security practices and secure this key file.

#. Create the certificate signing request for the intermediate
certificate. When asked for Distinguished Name values, enter the
appropriate values for your test Intermediate Authority certificate.

.. code-block:: sh

openssl req -new -key mongodb-test-ia.key -out mongodb-test-ia.csr -config openssl-test-ca.cnf

#. Create the intermediate certificate :file:`mongodb-test-ia.crt`.

.. code-block:: sh

openssl x509 -sha256 -req -days 730 -in mongodb-test-ia.csr -CA mongodb-test-ca.crt -CAkey mongodb-test-ca.key -set_serial 01 -out mongodb-test-ia.crt -extfile openssl-test-ca.cnf -extensions v3_ca

#. Create the test CA PEM file from the test CA certificate :file:`mongod-test-ca.crt` and
test intermediate certificate :file:`mongodb-test-ia.crt`.

.. code-block:: sh

cat mongodb-test-ca.crt mongodb-test-ia.crt > test-ca.pem

You can use the test PEM file when configuring :binary:`~bin.mongod`,
:binary:`~bin.mongod`, or :binary:`~bin.mongo` for TLS/SSL testing.

You can use the test intermediate authority to sign the test
certificates for both the server(s) and client(s). A single authority
must issue the certificates for both the client and the server.



.. seealso::

- :ref:`appendix-server-certificate`
- :ref:`appendix-client-certificate`
Loading