diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-01-08 12:29:33 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-01-09 14:21:50 -0500 |
commit | be9e89f5be0c3c976c8a61498aa82a23972b9ffe (patch) | |
tree | 347cee8b1f82108a642a5126239f91d3668b66b3 /src/mongo/db/index/index_access_method.h | |
parent | 79dc4de53c86d0b9884b558575f0119e964408d8 (diff) | |
download | mongo-be9e89f5be0c3c976c8a61498aa82a23972b9ffe.tar.gz |
SERVER-12213: comments on index creation code
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r-- | src/mongo/db/index/index_access_method.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |