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

update fails silently when notablescans=true

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      RHEL5
    • Linux

      I have

      • notablescans=true in mongod.conf
      • sparse index on {cl:1, lc:1}
      • index on {clExists:1}

      Running on the console, neither:

      • db.Example.update({clExists:{$exists:false}, cl: {$exists:false}}, {$set : { clExists: false}});
      • db.Example.update({clExists:{$exists:false}}, {$set : { clExists: false}});
        gives no output but exits very quickly

      Running:

      • db.Example.find({clExists:{$exists:false}, cl:{$exists:false}}).limit(10).forEach(printjson);
        gives "table scans not allowed:jerome5.Example"

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            niccottrell Nic Cottrell (Personal)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: