summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_update.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-04-11 16:22:55 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-04-12 16:40:38 -0400
commitef3d06fb6c5402d56a90ad60fd61c761021b92a7 (patch)
tree4097ad3c2fa71297977faddae8bc6c8028c3997e /src/mongo/db/index_update.h
parent7797f459758a98bce90593e583f90c858a287a1c (diff)
downloadmongo-ef3d06fb6c5402d56a90ad60fd61c761021b92a7.tar.gz
migrate fts/haystack + add/del logic SERVER-8791 SERVER-9164 SERVER-9165
Diffstat (limited to 'src/mongo/db/index_update.h')
-rw-r--r--src/mongo/db/index_update.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/index_update.h b/src/mongo/db/index_update.h
index d0f3bd0608e..e32e028931f 100644
--- a/src/mongo/db/index_update.h
+++ b/src/mongo/db/index_update.h
@@ -37,9 +37,7 @@ namespace mongo {
bool mayInterrupt);
// add index keys for a newly inserted record
- // done in two steps/phases to allow potential deferal of write lock portion in the future
- void indexRecordUsingTwoSteps(const char *ns, NamespaceDetails *d, BSONObj obj,
- DiskLoc loc, bool shouldBeUnlocked);
+ void indexRecord(const char *ns, NamespaceDetails *d, const BSONObj& obj, const DiskLoc &loc);
// Given an object, populate "inserter" with information necessary to update indexes.
void fetchIndexInserters(BSONObjSet & /*out*/keys,