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

XMLWordPrintableJSON

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

      > 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 Stearn
              Reporter:
              Sergei Tulentsev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: