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

upgradeCheck() gives unhelpful message for _id too long to index

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • 2.6.0-rc0
    • Admin
    • None
    • ALL

    Description

      When running upgradeCheck() among other things I got:

      Document:
      	{
      	"_id" : "aaaaaaaaaaaaa [... clipping 1100+ chars ...] aaa",
      	"foo" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      	"bar" : "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
      }
      	cannot be indexed by: _id_
      Remove this document via the _id field

      That seems... unhelpful!!!

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: