diff options
-rw-r--r-- | src/mongo/db/structure/catalog/namespace_details.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/structure/catalog/namespace_details.cpp b/src/mongo/db/structure/catalog/namespace_details.cpp index 87ec94f9975..ea003e07bbf 100644 --- a/src/mongo/db/structure/catalog/namespace_details.cpp +++ b/src/mongo/db/structure/catalog/namespace_details.cpp @@ -300,7 +300,7 @@ namespace mongo { } if ( bestmatchlen < 0x7fffffff && --extra <= 0 ) break; - if ( ++chain > 30 && b < MaxBucket ) { + if ( ++chain > 30 && b <= MaxBucket ) { // too slow, force move to next bucket to grab a big chunk //b++; freelistIterations.increment( chain ); |