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

Mongorestore error recreating index causes entire restore failure

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Works as Designed
    • Affects Version/s: 2.6.3
    • Fix Version/s: None
    • Component/s: Indexing, Tools
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Add data into already indexed field that is too large. Backup. Attempt to restore.

      Show
      Add data into already indexed field that is too large. Backup. Attempt to restore.

      Description

      When restoring a database, onto the same system from which the backup was taken, we get the following error:

      ```
      Error creating index Database.Collection_15: 17280 err: "Btree::insert: key too large to index, failing Database.Collection_15.$Data.123.X_1 2536 { : "the following challenges and process pain points have bee..."
      ```

      We've verified this on windows and linux. Versions 2.6.1 and 2.6.3 were both tested.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: