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

remove() should ignore notablescan

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Write Ops
    • Labels:
      None

      db.Example.remove(

      {"wordCount":0}

      ) gives

      WriteResult({
      	"nRemoved" : 0,
      	"writeError" : {
      		"code" : 65,
      		"errmsg" : "multiple errors for op : error processing query: ns=jerome5.Example limit=0 skip=0\nTree: wordCount == 0.0\nSort: {}\nProj: {}\n No query solutions :: and :: error processing query: ns=jerome5.Example limit=0 skip=0\nTree: wordCount == 0.0\nSort: {}\nProj: {}\n No query solutions :: and :: error processing query: ns=jerome5.Example limit=0 skip=0\nTree: wordCount == 0.0\nSort: {}\nProj: {}\n No query solutions"
      	}
      })
      

      Maybe remove should be an exception to the notablescan setting?

            Assignee:
            rassi J Rassi
            Reporter:
            niccottrell Nic Cottrell (Personal)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: