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

group can only process 10k unique keys

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.4
    • Affects Version/s: 1.6.2
    • Component/s: None
    • None
    • ALL

      db.SOURCE.group(
      {
      key:

      {'userid': true}

      ,
      initial:

      {sum: 0}

      ,
      reduce: function(doc, prev)

      { prev.sum += 1}

      });

      Wed Sep 29 11:16:50 uncaught exception: group command failed: {
      "errmsg" : "exception: group() can't handle more than 10000 unique keys",
      "code" : 10043,
      "ok" : 0
      }

            Assignee:
            Unassigned Unassigned
            Reporter:
            kgorman Kenny Gorman
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: