Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12982

Could not restore backup data due to "key too large to index"

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Shell, Tools
    • None
    • ALL
    • Hide

      1. Backup data from working 2.4 instance
      2. Try to restore it in version 2.6

      Show
      1. Backup data from working 2.4 instance 2. Try to restore it in version 2.6

      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:

      { search_meta: 1 }

      , 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**..."

            Assignee:
            Unassigned Unassigned
            Reporter:
            pawelsmolinski Pawe? Smoli?ski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: