summaryrefslogtreecommitdiff
path: root/src/mongo/db/views
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50317 Const correct uses of CollectionHenrik Edin2020-09-021-3/+3
| | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer.
* SERVER-49890: Create resharding oplog view on startup.Daniel Gottlieb2020-08-271-5/+0
|
* SERVER-49703 Added libdep linter alphabetic rule and update all libdeps list ↵Daniel Moody2020-08-271-4/+4
| | | | to be alphabetical
* SERVER-48900 Remove format-string arguments from logv2 statementsMilena Ivanova2020-08-202-8/+1
|
* SERVER-49756 Add downgradeOnDiskChanges parameter to ↵Jason Chan2020-08-181-1/+0
| | | | setFeatureCompatibilityVersion
* SERVER-49070: add and use FCV gating helpersGrace Luong2020-07-251-5/+4
|
* SERVER-49060: added comments for generic FCV constants and conditional checksGrace Luong2020-07-151-0/+1
|
* SERVER-49060: updating generic FCV constantsGrace Luong2020-07-091-4/+4
|
* SERVER-44968 Remove useless BSONVersion enum classFaustoleyva542020-06-261-1/+1
|
* SERVER-46716: Add tests for let parameters for sharded updatePawel Terlecki2020-06-121-1/+1
| | | | Bring back the earlier commit.
* Revert "SERVER-46716: Add tests for let parameters for sharded update"Katherine Wu2020-06-121-1/+1
| | | | This reverts commit 41fd8b2a5b227dda18ab81da51e10ecafcf64a52.
* SERVER-46716: Add tests for let parameters for sharded updatePawel Terlecki2020-06-111-1/+1
| | | | Made cosmetic changes for the sake of consistency.
* SERVER-46116 Add integration tests for let variablesKatherine Wu2020-06-111-0/+1
|
* SERVER-48353 logv2 cleanup for db/query, s/query, db/views, db/matcherMindaugas Malinauskas2020-06-082-10/+13
|
* SERVER-47075 Clean up some log linesGabriel Russell2020-06-021-3/+4
| | | | | | * all logs under mongo/transport and mongo/util/net were reviewed and many were cleaned up * all "status"_attr were reviewed and most changed to "error"_attr
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-262-2/+2
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-46323 Update FCV constants throughout server code following 4.4 branchAli Mir2020-04-221-3/+3
| | | | | | | | | | | | | | SERVER-46589 Update Execution-related generic upgrade/downgrade references SERVER-46587 Update Replication-related generic upgrade/downgrade references SERVER-46839 Update Sharding-related generic upgrade/downgrade references SERVER-46590 Update Query-related generic upgrade/downgrade references SERVER-46318 Bump wire protocol version for 4.6 SERVER-46313 Bump Powercycle FCV
* SERVER-46865 Make collMod not take database MODE_X lockGregory Noma2020-04-012-5/+7
|
* Revert "SERVER-46865 Make collMod not take database MODE_X lock"Gregory Noma2020-03-302-7/+5
| | | | This reverts commit 80ebcc52a6ec27834a286ab1ab342db0d7f63756.
* SERVER-46865 Make collMod not take database MODE_X lockGregory Noma2020-03-242-5/+7
|
* SERVER-44884 Remove the 'useNewUpsert' flag after branching for 4.5Bernard Gorman2020-03-121-1/+0
|
* SERVER-46219 Unit Tests should log with jsonMark Benvenuto2020-02-251-6/+6
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-212-2/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-46015 Cleanup Pipeline parsing for aggregation stages with child ↵Nicholas Zolnierz2020-02-192-23/+44
| | | | pipelines
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-132-5/+20
|
* SERVER-45456 Allow JavaScript on mongosJames Wahlin2020-02-071-0/+1
| | | | | | | create mode 100644 jstests/noPassthrough/mr_noscripting.js delete mode 100644 jstests/noPassthroughWithMongod/mr_noscripting.js create mode 100644 jstests/sharding/agg_js_on_mongos.js create mode 100644 jstests/sharding/javascript_heap_limit.js
* SERVER-45838 Rename/restructure mongo_process_interface classes and filesCharlie Swanson2020-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | create mode 100644 src/mongo/db/pipeline/process_interface/SConscript rename src/mongo/db/pipeline/{process_interface_standalone.cpp => process_interface/common_mongod_process_interface.cpp} (72%) rename src/mongo/db/pipeline/{process_interface_standalone.h => process_interface/common_mongod_process_interface.h} (69%) rename src/mongo/db/pipeline/{mongo_process_common.cpp => process_interface/common_process_interface.cpp} (91%) rename src/mongo/db/pipeline/{mongo_process_common.h => process_interface/common_process_interface.h} (91%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.cpp (96%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.h (100%) rename src/mongo/db/pipeline/{process_interface_factory_mongod.cpp => process_interface/mongod_process_interface_factory.cpp} (84%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.cpp (93%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.h (97%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface_test.cpp (84%) create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h rename src/mongo/db/pipeline/{process_interface_shardsvr.cpp => process_interface/shardsvr_process_interface.cpp} (88%) rename src/mongo/db/pipeline/{process_interface_shardsvr.h => process_interface/shardsvr_process_interface.h} (95%) rename src/mongo/db/pipeline/{process_interface_standalone_test.cpp => process_interface/shardsvr_process_interface_test.cpp} (95%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.cpp => process_interface/stub_lookup_single_document_process_interface.cpp} (89%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.h => process_interface/stub_lookup_single_document_process_interface.h} (93%) rename src/mongo/db/pipeline/{ => process_interface}/stub_mongo_process_interface.h (99%)
* SERVER-45590 Allow building a LiteParsedPipeline without first building an ↵Arun Banala2020-01-291-4/+2
| | | | AggregationRequest
* SERVER-43860 Upgrade/downgrade mechanism for new $merge upsert behaviourBernard Gorman2019-12-021-0/+1
|
* SERVER-43859: Take MODE_IX locks for collection creation.Daniel Gottlieb2019-11-261-3/+3
| | | | | | | | | | | | | | | | | Two concurrent storage transactions can now create collections with the same collection name. These transactions will conflict at commit time; the first committer will win and register their collection into the global catalog. The losing transactions will bubble a WriteConflictException. Top-level callers that should fail if the collection already existed must now check and fail with a NamespaceExists error code. Previously, those callers could rely on lower level code returning the NamespaceExists error. Callers that were implicitly creating a collection may retry the operation, using the now-registered collection. These transaction-local collections (UncommittedCollections) are returned when doing any CollectionCatalog::lookup* call.
* SERVER-42462 Put new $meta arguments behind FCV checkAnton Korshunov2019-10-171-0/+5
|
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-42302 Move Document/Value library to db/exec/document_value directory.David Storch2019-10-011-1/+1
| | | | | | Document/Value is now used throughout the query execution engine, and therefore should move into the directory which holds query execution code.
* SERVER-41496 Remove Database::getCollection() and replace with ↵Evgeni Dobranov2019-09-301-3/+6
| | | | CollectionCatalog::get().lookupCollectionByNamespace()
* SERVER-29794 Adding a comment to all commandsArun Banala2019-09-242-10/+0
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-172-11/+11
|
* SERVER-41230 Update FCV constants throughout server code following 4.2 branchBernard Gorman2019-08-231-3/+3
| | | | | | | SERVER-42162 Update Execution-related generic upgrade/downgrade references SERVER-42642 Update Replication-related generic upgrade/downgrade references SERVER-42592 Update Sharding-related generic upgrade/downgrade references SERVER-42794 Update Query-related generic upgrade/downgrade references SERVER-41545 Bump wire protocol version for 4.4
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-275-27/+16
|
* SERVER-41041 ViewCatalog should actively reload after changesGregory Wlodarek2019-07-156-257/+337
|
* SERVER-40915 View namespaces now included in the LockManager's ↵Daniel Solnik2019-07-012-3/+115
| | | | ResourceId::toString()
* SERVER-41813 Allow ViewCatalog lookup without validating system viewsBlake Oler2019-06-265-71/+150
|
* SERVER-41809 Collapse unit tests on a per-directory basisAndrew Morrow2019-06-201-1/+1
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-103-8/+7
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-103-6/+6
|
* SERVER-41249 Fix special cases for $out to include $mergeCharlie Swanson2019-05-221-0/+8
|
* SERVER-40992 Always lock system.views before view operationsXiangyu Yao2019-05-142-4/+19
|
* SERVER-40892 Rename UUIDCatalog to CollectionCatalogGeert Bosch2019-05-071-0/+3
|
* SERVER-40647 ViewCatalog::iterate should use _reloadIfNeeded rather than ↵Xiangyu Yao2019-04-161-1/+1
| | | | _requireValidCatalog
* SERVER-40604 Make CollectionLock interruptibleGeert Bosch2019-04-151-1/+1
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.