Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.3.2
-
None
-
OSX 10.8, SSD storage
-
ALL
-
(copied to CRM)
Description
Inserting a document with 500,000 unique words can generate a group commit of >512MB. Trips assertion failure in AlignedBuilder::growReallocate, in util/alignedbuffer.cpp.
91 verify( a <= 512*1024*1024 );
|
This leads to a server shutdown. Reproduce with (after creating a {{
{content: "text"}}} index):
>>> import pymongo
|
>>> testdb = pymongo.MongoClient()['test']
|
>>> num_words_in_doc = 500 * 1000
|
>>> large_doc = {'content':" ".join(map(str, range(1,num_words_in_doc+1)))}
|
>>> num_docs = 50
|
>>> for i in xrange(num_docs):
|
... large_doc['_id'] = i
|
... testdb.foo.insert(large_doc)
|
...
|
In my environment above, assertion trips on insert #32. Logfile attached.
Attachments
Issue Links
- related to
-
SERVER-22078 Remove term list limits for text index in FCV 4.2
-
- Closed
-