Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-726

Incompatible data types in index meta information

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.3
    • Affects Version/s: 3.0.1
    • Component/s: mongodump, mongorestore
    • None
    • Environment:
      Ubuntu 14.04.1 LTS
    • Kernel Tools Iteration 3
    • Not Needed
    • v3.0

      When collection have a 2D index with options min, max and bits, they are exported in the meta file as type NumberLong. Unfortunatelly mongorestore can't import these back. The solution is to edit affected meta files manually.

        1. map.metadata.json
          0.4 kB
          Ognian Marinov

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            silent Ognian Marinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: