diff options
author | Eric Milkie <milkie@10gen.com> | 2014-04-22 12:07:03 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-04-22 12:07:03 -0400 |
commit | 3a613a84a4f9a22a70c387e67305dd1b486bae68 (patch) | |
tree | de19789eb42bf8d7e67a7ae12b80a53f1f10b868 /src/mongo | |
parent | 91039e8d3771b7d30f6ed1a3efc337295b5c1b26 (diff) | |
download | mongo-3a613a84a4f9a22a70c387e67305dd1b486bae68.tar.gz |
SERVER-13620 fix assert codes to be the same as in 2.6
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/background.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/catalog/collection.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/background.cpp b/src/mongo/db/background.cpp index 003e9078067..eb9860ba405 100644 --- a/src/mongo/db/background.cpp +++ b/src/mongo/db/background.cpp @@ -97,7 +97,7 @@ namespace { void recordEndAndRemove(BgInfoMap* bgiMap, const StringData& key) { BgInfoMapIterator iter = bgiMap->find(key); - fassert(17443, iter != bgiMap->end()); + fassert(17431, iter != bgiMap->end()); if (0 == iter->second->recordEnd()) { bgiMap->erase(iter); } diff --git a/src/mongo/db/catalog/collection.cpp b/src/mongo/db/catalog/collection.cpp index aefe4c3a82d..dce27e42195 100644 --- a/src/mongo/db/catalog/collection.cpp +++ b/src/mongo/db/catalog/collection.cpp @@ -466,7 +466,7 @@ namespace mongo { * 4) re-write indexes */ Status Collection::truncate() { - massert( 17431, "index build in progress", _indexCatalog.numIndexesInProgress() == 0 ); + massert( 17445, "index build in progress", _indexCatalog.numIndexesInProgress() == 0 ); // 1) store index specs vector<BSONObj> indexSpecs; |