diff options
Diffstat (limited to 'src/mongo/db/prefetch.cpp')
-rw-r--r-- | src/mongo/db/prefetch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/prefetch.cpp b/src/mongo/db/prefetch.cpp index dd9e7706c17..f3fc4ec2d69 100644 --- a/src/mongo/db/prefetch.cpp +++ b/src/mongo/db/prefetch.cpp @@ -124,7 +124,7 @@ namespace mongo { { // indexCount includes all indexes, including ones // in the process of being built - int indexCount = nsd->nIndexesBeingBuilt(); + int indexCount = nsd->getTotalIndexCount(); for ( int indexNo = 0; indexNo < indexCount; indexNo++ ) { // This will page in all index pages for the given object. try { |