Skip to content

Commit d85f99a

Browse files
committed
SERVER-14041 enhance secondaryThrottle parameter
Fix debug build compile failure
1 parent fa1233f commit d85f99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongo/s/type_settings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ namespace mongo {
221221
if (_isSecondaryThrottleSet) {
222222
return _secondaryThrottle;
223223
} else {
224-
dassert(secondaryThrottle.hasDefault());
224+
dassert(deprecated_secondaryThrottle.hasDefault());
225225
return deprecated_secondaryThrottle.getDefault();
226226
}
227227
}
@@ -242,7 +242,7 @@ namespace mongo {
242242
// Calling get*() methods when the member is not set and has no default results in undefined
243243
// behavior
244244
BSONObj getMigrationWriteConcern() const {
245-
dassert (_isBalancerWriteConcernSet);
245+
dassert (_isMigrationWriteConcernSet);
246246
return _migrationWriteConcern;
247247
}
248248

0 commit comments

Comments
 (0)