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

error message is very cryptic if the sort index of MR does not exist

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: MapReduce
    • None
    • Query Optimization
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      > db.usages.mapReduce(map, reduce, options);
      Fri Feb 17 17:26:44 uncaught exception: map reduce failed:{
      "assertion" : "could not create cursor over bugswarm_dev.usages for query :

      { user_id: \"test\" }

      sort :

      { timestamp: -1.0 }

      ",
      "assertionCode" : 15876,
      "errmsg" : "db assertion failure",
      "ok" : 0
      }

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            antoine Antoine Girbal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: