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

update fails silently when notablescans=true

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.4
    • None
    • None
    • RHEL5
    • Linux

    Description

      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"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: