[SERVER-8867] Command to validate all data within a server Created: 06/Mar/13  Updated: 06/Dec/22  Resolved: 22/Feb/16

Status: Closed
Project: Core Server
Component/s: Storage, Usability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Juho Mäkinen Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-8518 Recovering slave with journal causes ... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

MongoDB has currently a .validate({full:true}) command which will validate the data for a single collection.

There should be a new command added which would validate all collections in all databases. The command should also print errors to the server log as soon as it finds any errors, so that the DBA can bail out early if he suspects data inconsistencies.



 Comments   
Comment by Martin Bligh [ 22/Feb/16 ]

Suggest loop over databases, collections

Generated at Thu Feb 08 03:18:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.