[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: |
|
||||||||
| 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 |