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

distinct command: error message in 1.8 is wrong (or it's a bug)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.2, 1.9.0
    • Affects Version/s: 1.8.0
    • Component/s: None
    • None
    • ALL

      > db.version()
      1.8.0
      > db.runCommand({distinct : 'visits', key : 'viewer', query : {app_id : 626233}})
      {
      "errmsg" : "exception: distinct too big, 4mb cap",
      "code" : 10044,
      "ok" : 0
      }

      Cap in 1.8 should be 16mb.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            sergei.tulentsev@gmail.com Sergei Tulentsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: