| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This reverts commit be18bd1133d6f8118ebb79a2251c4a49b1c84ec1.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit bbaa344f95af6a042b14193d48927d5f0215e0bb.
|
| |
|
| |
|
|
|
|
|
|
| |
Add support for a new type which coordinates a number of parallel
participants in determining the first matching participant or the last
non-matching participant.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
configured on rhel67-z-dev.maristisv.build.10gen.cc
configured on rhel71-ppc-dev.pic.build.10gen.cc
configured on ubuntu1604-arm64-7.linaro.build.10gen.cc
configured on ec2-52-200-142-75.compute-1.amazonaws.com
|
| |
|
| |
|
|
|
|
| |
standard conformant.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 006cde883229b348896f0c5935daf560f3ee89a7.
|
| |
|
| |
|
|
|
|
| |
exact query predicate
|
| |
|
|
|
|
| |
Comparing std, abseil flat, abseil node and UnorderedFastKeyTable.
|
|
|
|
|
|
|
|
|
| |
This patch converts the existing transactions diagnostics timing related
metrics to use a TickSource to record transaction durations. The
TickSource is a high precision, mock-able time source for measuring
the passage of time. This patch also converts the existing unit tests
to use a mock TickSource, which allows the tests to fully virtualize
time, making them much faster and less flaky.
|
|
|
|
|
|
|
| |
The `mongo::unique_function` object is a move-only function object
which is useful for capturing move-only lambdas (such as those
with `std::unique_ptr` objects) into type-erased function objects
that resemble `std::function`.
|
|
|
|
| |
Now removed constexpr that broke Windows build.
|
|
|
|
| |
This reverts commit ce9968b484b95fe3f08ffe1d15791e8fadc9e854.
|
| |
|
|
|
|
|
|
|
| |
Because this file instantiates a great deal of templates, it
consumes a lot of CPU to compile in a single compiler execution.
By splitting this file up, we can improve build times for this test
by a great deal.
|
| |
|
|
|
|
|
|
| |
UserHandle"
This reverts commit 78dec3622268ad27bb855eda4c6a4ed345412fd9.
|
| |
|
|
|
|
|
|
| |
The current implementation of DNS name processing uses raw string
processing. This change alters the mechanism to use a proper DNS
name type which parses the hostname for proper processing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a thread safe execution primitive for running jobs against an executor with mutual
exclusion and queuing by key.
Features:
Keyed - Tasks are submitted under a key. The keys serve to prevent tasks for a given key from
executing simultaneously. Tasks submitted under different keys may run concurrently.
Queued - If a task is submitted for a key and another task is already running for that key, it
is queued. I.e. tasks are run in FIFO order for a key.
Thread Safe - This is a thread safe type. Any number of callers may invoke the public api
methods simultaneously.
Special Enhancements:
onCurrentTasksDrained- Invoking this method for a key allows a caller to wait until all of the
currently queued tasks for that key have completed.
onAllCurrentTasksDrained- Invoking this method allows a caller to wait until all of the
currently queued tasks for all key have completed.
KeyedExecutorRetry - Throwing or returning KeyedExecutorRetry in a task will cause the task to
be requeued immediately into the executor and retain its place in the
queue.
|
|
|
|
|
| |
Replace PeriodicRunnerASIO with PeriodicRunnerImpl, a simpler interface
that runs jobs on dedicated threads.
|
| |
|
|
|
|
| |
standalone process applications. Refactored commands libraries throughout the codebase and made their uses be LIBDEPS_PRIVATE when possible as most commands don't export any symbols and don't even have headerfiles.
|
|
|
|
|
| |
Add a bounded, interruptible, thread safe, single producer,
multi-consumer queue to the utility directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current Decorable system type-erases the most derived (Decorated)
type when registering Decorations. This is illegal as derived classes
which are no longer standard-layout can have the `Decorable` base
class reordered with respect to the base address of their storage.
This also removes the "with-owner" forms of declaring a decoration,
which caused problems with layout. The decoration handles have
been modified to provide mechanisms to get back to the owner
directly, given a pointer or reference to the decoration.
|
|
|
|
| |
can be used in more places without creating cyclic dependencies.
|
|
|
|
| |
sources
|
| |
|
| |
|
| |
|