From be9e89f5be0c3c976c8a61498aa82a23972b9ffe Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Wed, 8 Jan 2014 12:29:33 -0500 Subject: SERVER-12213: comments on index creation code --- src/mongo/db/index/index_access_method.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mongo/db/index/index_access_method.h') diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h index 5b6227804aa..4f2c2e8650f 100644 --- a/src/mongo/db/index/index_access_method.h +++ b/src/mongo/db/index/index_access_method.h @@ -147,6 +147,12 @@ namespace mongo { * Starts a bulk operation. * You work on the returned IndexAccessMethod and then call commitBulk. * This can return NULL, meaning bulk mode is not available. + * + * Long term, you'll eventually be able to mix/match bulk, not bulk, + * have as many as you want, etc.. + * + * For now (1/8/14) you can only do bulk when the index is empty + * it will fail if you try other times. */ virtual IndexAccessMethod* initiateBulk() = 0; -- cgit v1.2.1