Skip to content

Commit 49ffacb

Browse files
Final updates for 1.19. Non-genuine warning. Release notes. MaxtimeMS. (#157)
* Final updates for 1.19. Non-genuine warning. Release notes. MaxtimeMS. * Final updates for 1.19. Non-genuine warning. Release notes. MaxtimeMS.
1 parent 4dabb82 commit 49ffacb

File tree

7 files changed

+89
-6
lines changed

7 files changed

+89
-6
lines changed

source/connect.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Connect to MongoDB
1515
This page outlines how to use |compass-short| to connect to your
1616
MongoDB host.
1717

18+
.. note::
19+
20+
.. include:: /includes/fact-non-genuine-warning.rst
21+
1822
Connect
1923
-------
2024

source/faq.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ data in the operating system's credentials API. For more information on
5757
how Keytar operates and the specific APIs it accesses, refer to the
5858
`Keytar Github documentation <https://github.com/atom/node-keytar>`_.
5959

60+
.. _compass-faq-non-genuine:
61+
62+
Why am I seeing a warning about a non-genuine MongoDB server?
63+
-------------------------------------------------------------
64+
65+
.. include:: /includes/fact-non-genuine-warning.rst
66+
6067
.. _compass-faq-sampling:
6168

6269
What is sampling and why is it used?

source/images/compass/max-time-ms.png

15.8 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Starting in |compass| 1.19, |compass-short| displays a
2+
warning message when connected to non-genuine MongoDB instances as
3+
these instances may behave differently from the official MongoDB
4+
instances; e.g. missing or incomplete features, different feature
5+
behaviors, etc.

source/query-bar.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ documents from the collection.
2121
.. figure:: /images/compass/query-bar-documents-view.png
2222
:figwidth: 720px
2323

24+
Options
25+
-------
26+
2427
You can specify a query filter in the query bar. If you click
2528
:guilabel:`Options` to expand the query bar, you also have access to
2629
the ``project``, ``sort``, ``collation``, ``skip``, and ``limit``
@@ -47,6 +50,11 @@ options of the query.
4750

4851
- Set the sort order of the returned documents.
4952

53+
* - :ref:`MaxTimeMS <query-bar-max-time-ms>`
54+
55+
- Adjust the maximum time limit in milliseconds to process
56+
the query bar operation.
57+
5058
* - :ref:`Collation <query-bar-collation>`
5159

5260
- Set the
@@ -79,14 +87,9 @@ Limitations
7987
Filter Returned Documents </query/filter>
8088
/query/project
8189
Sort Returned Documents </query/sort>
90+
/query/maxtimems
8291
/query/collation
8392
Skip Through Documents </query/skip>
8493
Limit Number of Returned Documents </query/limit>
8594
/export-query-to-language
8695
/query/queries
87-
88-
89-
90-
91-
92-

source/query/maxtimems.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.. _query-bar-max-time-ms:
2+
3+
========================================
4+
Adjust Maximum Time for Query Operations
5+
========================================
6+
7+
You can modify the :guilabel:`MaxTimeMS` query bar option to adjust
8+
the cumulative time limit in milliseconds to process query bar
9+
operations. If the time limit is reached before the operation completes,
10+
|compass-short| interrupts the operation.
11+
12+
The default :guilabel:`MaxTimeMS` value is ``5000``. Consider raising
13+
this value if you have a very large collection, or your operations
14+
are frequently timing out. You can also consider creating
15+
:ref:`indexes <compass-indexes>` to improve query performance.
16+
17+
.. figure:: /images/compass/max-time-ms.png
18+
:figwidth: 720px
19+
:alt: MaxTimeMS Option
20+
21+
Set MaxTimeMS
22+
-------------
23+
24+
#. Click :guilabel:`Options`.
25+
26+
#. Adjust :guilabel:`MaxTimeMS` to the desired value in milliseconds.
27+
28+
Learn More
29+
----------
30+
31+
To learn more about :guilabel:`MaxTimeMS`, see
32+
:manual:`cursor.maxTimeMS() </reference/method/cursor.maxTimeMS/>`
33+
in the MongoDB manual.

source/release-notes.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,37 @@ Release Notes
99
:backlinks: none
1010
:depth: 1
1111
:class: twocols
12+
13+
|compass| 1.19
14+
--------------
15+
16+
*Released August 11, 2019*
17+
18+
- Added support for:
19+
20+
- :ref:`Views <view-details>`. You can create
21+
views based on results from an
22+
:ref:`aggregation pipeline <compass-agg-builder>`.
23+
24+
- :ref:`Wildcard Indexes <compass-indexes>`.
25+
26+
- Killing long-running operations from the
27+
:ref:`Performance Tab <kill-long-ops>`.
28+
29+
- :ref:`Adjusting the maximum timeout <query-bar-max-time-ms>` for
30+
queries executed in the Query Bar.
31+
32+
- New settings available in the
33+
:ref:`aggregation pipeline builder <compass-agg-builder>`. You can
34+
now specify a sample size, number of documents to preview, and a
35+
maximum timeout for your pipeline operations.
36+
37+
- Obscures fields encrypted with Field-Level Encryption. These fields
38+
cannot be modified by |compass-short| users.
39+
40+
- |compass-short| now warns users who are connected to non-genuine
41+
MongoDB servers. For more information, see
42+
:ref:`this entry in the FAQ <compass-faq-non-genuine>`.
1243

1344
|compass| 1.18
1445
--------------

0 commit comments

Comments
 (0)