[SERVER-31128] run_validate_collections hook doesn't check secondaries Created: 18/Sep/17 Updated: 30/Oct/23 Resolved: 29/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.15, 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Ian Boros |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v3.4
|
||||||||||||||||||||
| Sprint: | TIG 2017-10-23 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
In the run_validate_collections hook, it seems like we only call validate on the primary. Take a look at this loop: We get the list of DBs from the secondary, but we call validate using the original mongo shell (which is connected to the primary). |
| Comments |
| Comment by Githook User [ 25/Mar/18 ] |
|
Author: {'email': 'ian.boros@10gen.com', 'name': 'Ian Boros'}Message: When connecting to a secondary to perform validate(), we now call This also adds support for us to call validate() on all members of (cherry picked from commit 79da41f50a567ce1b0df5a4ab7a7eb5109414762) |
| Comment by Githook User [ 25/Mar/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: This change is in preparation for running the validate command against The fuzzer test suites require that the validate command is only run |
| Comment by Githook User [ 29/Sep/17 ] |
|
Author: {'email': 'ian.boros@10gen.com', 'name': 'Ian Boros'}Message: When connecting to a secondary to perform validate(), we now call This also adds support for us to call validate() on all members of |