SERVER-19513 uncovered a missing check in the validate command. While the command outputs enough information to diagnose an inconsistency in the indexes, it does not mark the collection as invalid and does not report an error.
> t.validate({full:false}) { "ns" : "test.cappedb", "nrecords" : 5, "nIndexes" : 1, "keysPerIndex" : { "test.cappedb.$_id_" : 10 }, "valid" : true, "errors" : [ ], "warning" : "Some checks omitted for speed. use {full:true} option to do more thorough scan.", "ok" : 1 }
- depends on
-
SERVER-20286 should update WT size storer for non-full validate
- Closed
- related to
-
SERVER-22234 Collection with a long key fails validation
- Closed
-
SERVER-7326 "validate" command should perform full index validation
- Closed