Skip to content

Commit 3e6e6ae

Browse files
author
Sam Kleinman
committed
minor: fixing rst error
1 parent 8d67118 commit 3e6e6ae

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

source/release-notes/2.4.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ system are available for use in MongoDB:
7272
instances and :term:`replica sets <replica set>`.
7373

7474
Initial SASL/Kerberos Support
75-
`````````````````````````````
75+
``````````````````````````````
7676

7777
Development work on this functionality is ongoing, and additional
7878
related functionality is forthcoming. To use Kerberos with MongoDB as
@@ -125,7 +125,7 @@ associate the current connection with the Kerberos session:
125125

126126
.. code-block:: javascript
127127

128-
db.getMongo().saslAuthenticate( { mechanism: "GSSAPI",
128+
db.getMongo().saslAuthenticate( { mechanism: "GSSAPI",
129129
principal: "<username>@<REALM>" } )
130130

131131
The value of the ``principal`` field *must* be the same principal that
@@ -135,9 +135,9 @@ following:
135135

136136
.. code-block:: javascript
137137

138-
db.adminCommand( { acquirePrivilege: 1,
139-
resource: <dbname>,
140-
principal: <principalName>,
138+
db.adminCommand( { acquirePrivilege: 1,
139+
resource: <dbname>,
140+
principal: <principalName>,
141141
actions: [ <actionString> ] } )
142142

143143
Replace the ``<dbname>`` with the name of the database you want
@@ -198,7 +198,7 @@ and :dbcommand:`eval` is now v8.
198198
New Geospatial Indexes with GeoJSON and Improved Spherical Geometry
199199
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200200

201-
.. note::
201+
.. note::
202202

203203
In 2.3.2, the index type for Spherical Geospatial Indexes will
204204
become ``2dsphere``
@@ -244,8 +244,8 @@ the following GeoJSON shapes:
244244
.. code-block:: javascript
245245

246246
{
247-
"type": "Polygon",
248-
"coordinates": [ [ 40, 5 ], [ 40, 6 ], [ 41, 6 ], [ 41, 5 ], [ 40, 5 ] ]
247+
"type": "Polygon",
248+
"coordinates": [ [ 40, 5 ], [ 40, 6 ], [ 41, 6 ], [ 41, 5 ], [ 40, 5 ] ]
249249
}
250250

251251
To query ``s2d`` indexes, all current geospatial :ref:`query operators
@@ -375,7 +375,7 @@ key. Consider the following properties when using a hashed shard key:
375375
the appropriate index.
376376

377377
- The :program:`mongos` will route all equality queries to a specific
378-
shard or set of shards; however, the :program:`mongos` must route
378+
shard or set of shards; however, the :program:`mongos` must route
379379
range queries to all shards.
380380

381381
- When using a hashed shard key on a new collection, MongoDB
@@ -387,10 +387,10 @@ key. Consider the following properties when using a hashed shard key:
387387

388388
.. code-block:: javascript
389389

390-
db.adminCommand( { shardCollection: "test.collection",
391-
key: { a: "hashed"},
390+
db.adminCommand( { shardCollection: "test.collection",
391+
key: { a: "hashed"},
392392
numInitialChunks: 2001 } )
393-
393+
394394
MongoDB will only pre-split chunks in a collection when sharding
395395
empty collections. MongoDB will not create chunk splits in a
396396
collection sharding collections that have data.

0 commit comments

Comments
 (0)