0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
clang-format-7.0.1
134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Gregory Wlodarek
e6abd76d9c SERVER-40345 Change calls involving the 'temp' field in the 'create' command to be done through the 'applyOps' command 2019-04-04 08:02:40 -04:00
Geert Bosch
711c076ef5 SERVER-35715 Remove nopreallocj and smallfiles options from tests 2018-07-05 08:20:56 -04:00
Kyle Suarez
7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
jannaerin
a13de396ad SERVER-33444 Fix tests that fail when shard servers started as replica sets 2018-03-27 17:28:32 -04:00
jannaerin
da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Daniel Gottlieb
3138119968 SERVER-30081: Run storage recovery at startup. 2017-08-15 14:19:26 -04:00
Hugh Han
9e478e4164 SERVER-14761 only allow NumberLong as split key in hashed shard patterns
When a shard uses a hashed key pattern, only NumberLong types may be used
as split keys.

A small bug in hash_basic.js regarding 'middle' syntax was also fixed.
Instead of 10000 to the document as a whole, 10000 is now added to the
actual number in the document.

A small bug in read_only_test.js regarding the shardColl(...) function
was also found. It was fixed to now do what I believe the author originally
intended it to do.
2017-07-13 13:45:20 -04:00
Bernard Gorman
2b198988a6 SERVER-19318 Reimplement the currentOp command as a $currentOp aggregation 2017-07-07 14:38:34 +01:00
Tess Avitabile
92e5992374 SERVER-24623 Remove single document aggregation result option 2017-01-13 17:56:02 -05:00
Kyle Suarez
57b9e3b61f SERVER-25904 include expected error code in read-only write ops test 2016-12-12 11:11:03 -05:00
Geert Bosch
647ebfac9e SERVER-24963 Fix invalidation of cursors on system.indexes 2016-11-28 17:30:28 -05:00
Esha Maharishi
0c41f08b3d SERVER-25549 re-enable read_only_sharded suite 2016-10-19 18:40:42 -04:00
Esha Maharishi
f4d1637a25 SERVER-26691 read_only and read_only_sharded suites do not make directories read-only on windows 2016-10-19 11:36:38 -04:00
Esha Maharishi
5b6ca35994 SERVER-22663 Make --shardsvr required for a mongod to be used as a shard 2016-08-12 15:24:05 -04:00
Esha Maharishi
62ae8e4141 Revert "SERVER-22663 Make --shardsvr required for a mongod to be used as a shard"
This reverts commit d1223a8ad4.
2016-08-11 21:36:54 -04:00
Esha Maharishi
d1223a8ad4 SERVER-22663 Make --shardsvr required for a mongod to be used as a shard 2016-08-11 21:07:39 -04:00
Robert Guo
9730e49b06 SERVER-24726 readonly mode should ignore temp collections 2016-07-14 15:59:36 -04:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Andy Schwerin
68ee19bbd7 SERVER-24024 If there is no "local" database at startup in queryableBackupMode, do not panic.
At startup, the logic that checks for version-specific bugs that may need to be
worked around attempts to open the "local" database to see what version of
mongod was last used to access the data files. In queryableBackupMode, if there
is no local database, this can legally fail, at least for some storage engines.
This patch recovers from that failure, rather than shutting down the server.

This patch also updates the read_only and read_only_sharded test suites, to test
cases where there is no "local" database, as this is the standard
queryableBackupMode use case.
2016-05-20 16:02:01 -04:00
Mike Grundy
1be713cebb SERVER-23067 Final round of JS linting and formatting 2016-03-18 17:10:31 -04:00
Adam Midvidy
5549920679 SERVER-23130 rename readOnly flag to querableBackupMode and hide it 2016-03-18 16:24:59 -04:00
Adam Midvidy
f34d7bed80 SERVER-22355 add negative tests of write operations to read_only suite 2016-03-17 13:07:29 -04:00
Adam Midvidy
6efa681435 SERVER-22356 add read_only_sharded suite 2016-03-10 11:03:15 -05:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Adam Midvidy
1b0377c6b1 SERVER-22358 add readOnly mode support for WiredTiger 2016-03-02 08:42:28 -05:00
Mike Grundy
eada48bf3c SERVER-22850 Clean up additional javascript issues found by eslint 2016-02-25 14:46:21 -05:00
Adam Midvidy
c29b47c092 SERVER-22360 disallow external sort in readOnly mode 2016-02-24 22:14:26 -05:00
Adam Midvidy
c4369291d3 SERVER-22357 run mmap tests with readOnly permissions 2016-02-23 12:45:05 -05:00
Adam Midvidy
62ebc18691 SERVER-22354 add more coverage of basic functionality to readOnly suite 2016-02-16 13:53:45 -05:00
Mike Grundy
a4d52e4c85 SERVER-22341 fix jslint errors in jstests/readonly with eslint --fix 2016-02-05 15:00:51 -05:00
Adam Midvidy
3c22b5e073 SERVER-22278 create readOnly suite 2016-01-29 14:55:42 -05:00