-
Type: Task
-
Resolution: Won't Do
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Server
-
Labels:None
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 }
- documents
-
SERVER-19521 validate should check consistency of number of index entries
- Closed