diff options
| author | Apollon Oikonomopoulos <apoikos@debian.org> | 2018-03-22 12:04:55 +0200 |
|---|---|---|
| committer | Apollon Oikonomopoulos <apoikos@debian.org> | 2018-03-22 12:04:55 +0200 |
| commit | c49e99631589113663b1a3ac691870421965a315 (patch) | |
| tree | ac8127a5a6816f169a6656511bf131a35af2f74a /src/mongo/db/dbhelpers.h | |
| parent | d982a88efa79f510c03f1c6c8c63360680ebbf88 (diff) | |
New upstream version 3.4.14upstream/3.4.14
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
| -rw-r--r-- | src/mongo/db/dbhelpers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index 650f265265d..59a4a317db7 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -141,11 +141,13 @@ struct Helpers { /** * Takes a namespace range, specified by a min and max and qualified by an index pattern, * and removes all the documents in that range found by iterating - * over the given index. Caller is responsible for insuring that min/max are + * over the given index. Caller is responsible for ensuring that min/max are * compatible with the given keyPattern (e.g min={a:100} is compatible with * keyPattern={a:1,b:1} since it can be extended to {a:100,b:minKey}, but * min={b:100} is not compatible). * + * Returns time spent waiting for majority replication in replWaitDuration. + * * Caller must hold a write lock on 'ns' * * Returns -1 when no usable index exists @@ -157,6 +159,7 @@ struct Helpers { const KeyRange& range, BoundInclusion boundInclusion, const WriteConcernOptions& secondaryThrottle, + Milliseconds& replWaitDuration, RemoveSaver* callback = NULL, bool fromMigrate = false, bool onlyRemoveOrphanedDocs = false); |
