diff options
author | Eric Milkie <milkie@10gen.com> | 2013-04-23 15:37:52 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-04-23 15:37:57 -0400 |
commit | 95b42ea5dfd7e8939c8eff9e7bf4a6442b7b14d3 (patch) | |
tree | 830a83be8bb591ff981039599d9484a0e16ff0f0 /src/mongo/db/index_update.cpp | |
parent | 4dac4a8f9f6ba79c9cf4e65e013914fde0fff83d (diff) | |
download | mongo-95b42ea5dfd7e8939c8eff9e7bf4a6442b7b14d3.tar.gz |
SERVER-8791 fix interface to IndexBuildsInProgress::get
Diffstat (limited to 'src/mongo/db/index_update.cpp')
-rw-r--r-- | src/mongo/db/index_update.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/index_update.cpp b/src/mongo/db/index_update.cpp index 83f2f86c5c5..618a7b725f0 100644 --- a/src/mongo/db/index_update.cpp +++ b/src/mongo/db/index_update.cpp @@ -141,7 +141,6 @@ namespace mongo { std::string idxName = idx.indexName(); int idxNo = IndexBuildsInProgress::get(ns, idxName); - massert(16574, "Couldn't find index being built", idxNo != -1); // After this yields in the loop, idx may point at a different index (if indexes get // flipped, see insert_makeIndex) or even an empty IndexDetails, so nothing below should @@ -187,8 +186,6 @@ namespace mongo { idxNo = IndexBuildsInProgress::get(ns, idxName); // This index must still be around, because this is thread that would clean // it up - massert(16575, "cannot find index build anymore", idxNo != -1); - numDropped++; } else { @@ -206,8 +203,6 @@ namespace mongo { // Recalculate idxNo if we yielded idxNo = IndexBuildsInProgress::get(ns, idxName); - // Someone may have interrupted the index build - massert(16576, "cannot find index build anymore", idxNo != -1); } else { idxNo = -1; |