When I'm trying to restore DB from backup, it throws error that index is too large. Version 2.4 is restoring such data without any problem and just warns that some data won't be indexed.
I'm getting following error message:
2014-03-01T10:47:54.232+0000 [tools] Btree::insert: key too large to index, failing **FILTERED*.contacts.$search_meta_1 1052 { : "*FILTERED**..." }
2014-03-01T10:47:54.483+0000 [tools] index build failed. spec: { v: 1, key:
, name: "search_meta_1", ns: "**FILTERED*.contacts" } error: 17282 Btree::insert: key too large to index, failing ***FILTERED*.contacts.$search_meta_1 1052 { : "*FILTERED**..." }
2014-03-01T10:47:55.056+0000 [tools] insert **FILTERED*.system.indexes keyUpdates:0 exception: Btree::insert: key too large to index, failing ***FILTERED*.contacts.$search_meta_1 1052 { : "*FILTERED**..." } code:17282 numYields:0 locks(micros) w:131243872 131243ms
Error creating index **FILTERED*.contacts: 17282 err: "*FILTERED**..."
- is duplicated by
-
SERVER-12983 Restore from 2.4 DB into 2.6 DB fails due to index?
- Closed
- is related to
-
SERVER-12834 Create flag to allow mongod to ignore "index too long" errors
- Closed
-
SERVER-5290 fail to insert docs with fields too long to index, and fail to create indexes where doc keys are too big
- Closed