Skip to content

Commit 3a613a8

Browse files
committed
SERVER-13620 fix assert codes to be the same as in 2.6
1 parent 91039e8 commit 3a613a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mongo/db/background.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ namespace {
9797

9898
void recordEndAndRemove(BgInfoMap* bgiMap, const StringData& key) {
9999
BgInfoMapIterator iter = bgiMap->find(key);
100-
fassert(17443, iter != bgiMap->end());
100+
fassert(17431, iter != bgiMap->end());
101101
if (0 == iter->second->recordEnd()) {
102102
bgiMap->erase(iter);
103103
}

src/mongo/db/catalog/collection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ namespace mongo {
466466
* 4) re-write indexes
467467
*/
468468
Status Collection::truncate() {
469-
massert( 17431, "index build in progress", _indexCatalog.numIndexesInProgress() == 0 );
469+
massert( 17445, "index build in progress", _indexCatalog.numIndexesInProgress() == 0 );
470470

471471
// 1) store index specs
472472
vector<BSONObj> indexSpecs;

0 commit comments

Comments
 (0)