| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
to be alphabetical
|
| |
|
|
|
|
| |
setFeatureCompatibilityVersion
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Bring back the earlier commit.
|
|
|
|
| |
This reverts commit 41fd8b2a5b227dda18ab81da51e10ecafcf64a52.
|
|
|
|
| |
Made cosmetic changes for the sake of consistency.
|
| |
|
| |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
- Remove several legacy logger/ files
- Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version.
- Globally replace logger::{LogSeverity,LogComponent} => logv2::
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This reverts commit 80ebcc52a6ec27834a286ab1ab342db0d7f63756.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o converting some log lines that were missed
o fixing some missing includes
create mode 100644 src/mongo/transport/ismaster_metrics.cpp
|
|
|
|
| |
pipelines
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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%)
|
|
|
|
| |
AggregationRequest
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
iterate docs
|
|
|
|
|
|
| |
Document/Value is now used throughout the query execution
engine, and therefore should move into the directory which
holds query execution code.
|
|
|
|
| |
CollectionCatalog::get().lookupCollectionByNamespace()
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
ResourceId::toString()
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
_requireValidCatalog
|
| |
|
|
|
|
|
|
| |
Rename utils/mongoutils/str.h => utils/str.h
Rename namespace mongoutils::str => str
Rename mongo::strcasecmp => str::caseInsensitiveCompare.
|