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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Admin
    • None
    • ALL

      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!!!

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

              Created:
              Updated:
              Resolved: