| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
compatible with supportsReadConcernMajority()
|
|
|
|
|
|
|
|
| |
directory
With this change there are no more references from mongo/s (which is
code common between MongoS and MongoD) and mongo/db/s (which is code
specific for MongoD only).
|
|
|
|
|
|
| |
create mode 100644 src/mongo/db/s/collection_sharding_state_factory_shard.h
create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.cpp
create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.h
|
|
|
|
|
|
| |
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
| |
|
|
|
|
| |
_mdb_catalog data
|
|
|
|
| |
its destructor.
|
|
|
|
|
|
| |
WiredTiger metadata, but have _mdb_catalog data"
This reverts commit ca2b902002110013479af34f0ce6dee9906d9ad9.
|
|
|
|
| |
metadata, but have _mdb_catalog data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
every unit test.
This patch does several loosely related and surprisingly hard to separate things.
1.) Make the ServiceContext class final
2.) Create a mechanism, called ConstructorActions, for running methods on
ServiceContexts immediately after they're built and immediately before they're
destroyed.
3.) Introduce / improve test fixture base classes for tests, giving them fresh
ServiceContext instances for each test case. There is one fixture for tests that
need a storage engine and another for those that do not.
4.) Make several remaining global variables SC decorations in support of (3)
5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the
new constructor-actions system, which is needed for (3.)
6.) Fix up tests to use the fixtures from (3) and fix tests that silently used
different service contexts in together in a technically illegal fashion that now
breaks.
7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts,
simplifying the fixtures in (3).
|
|
|
|
| |
reads
|
| |
|
| |
|
|
|
|
|
|
| |
This commit is an automated rename of all whole word instances of txn,
_txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all
.cpp and .h files in src/mongo.
|
|
|
|
| |
Also removes some references to the static 'grid' instance.
|
| |
|
|
|
|
| |
This reverts commit 9a776eae4f669fdcfae94c41c0cbbea662d36c94.
|
| |
|
| |
|
| |
|
|
fixture for tests requiring use of ephemeral storage engine
|