diff options
author | Randolph Tan <randolph@10gen.com> | 2014-06-17 17:45:53 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-07-15 13:33:25 -0400 |
commit | fa1233fbe4a48ef0675820f381987f1df4f42f75 (patch) | |
tree | 2f16f64be178a8aa417414dabb5e23f72c13e276 /src/mongo/db/dbhelpers.h | |
parent | a78c439ba94e08ab6079e5575f1959c39c9beb87 (diff) | |
download | mongo-fa1233fbe4a48ef0675820f381987f1df4f42f75.tar.gz |
SERVER-14041 enhance secondaryThrottle parameter
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index be0ca859248..865543c74f9 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -41,6 +41,7 @@ namespace mongo { class Collection; class Cursor; class OperationContext; + struct WriteConcernOptions; /** * db helpers are helper functions and classes that let us easily manipulate the local @@ -164,8 +165,8 @@ namespace mongo { */ static long long removeRange( OperationContext* txn, const KeyRange& range, - bool maxInclusive = false, - bool secondaryThrottle = false, + bool maxInclusive, + const WriteConcernOptions& secondaryThrottle, RemoveSaver* callback = NULL, bool fromMigrate = false, bool onlyRemoveOrphanedDocs = false ); |