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

validation failure on one document of a multi update terminates the update leaving remaining documents unmodified

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

      Test (test push pending)

      t = db.jstests_updatej;
      t.drop();
      
      t.save( {a:[]} );
      t.save( {a:1} );
      t.save( {a:[]} );
      
      t.update( {}, {$push:{a:2}}, false, true );
      assert.eq( 2, t.count( {a:2} ) );
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: