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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0-rc0
    • 2.6.0-rc1
    • 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

        Issue Links

          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: