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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0-rc0
    • Fix Version/s: None
    • Component/s: Shell, Tools
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: