[SERVER-34667] data_consistency_checks.js incorrectly assumes that the config.mongos collection always exists Created: 25/Apr/18 Updated: 29/Oct/23 Resolved: 26/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.15, 3.6.5, 4.0.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v3.6, v3.4
|
||||||||||||||||
| Sprint: | TIG 2018-05-07 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 10 | ||||||||||||||||
| Description |
|
It is possible for the runDataConsistencyChecks() function to run prior to the "sharding uptime reporter" background thread creating the config.mongos collection. The test should be changed to ensure that the config collection it is interested in running the "validate" command against actually exists prior to calling runDataConsistencyChecks(). |
| Comments |
| Comment by Githook User [ 28/Apr/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet', 'name': 'Max Hirschhorn'}Message: Changes the data_consistency_checks.js test to shard a collection to (cherry picked from commit 75e45cbf7437cef425f7c01b3099475e0e01f478) |
| Comment by Githook User [ 28/Apr/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet', 'name': 'Max Hirschhorn'}Message: Changes the data_consistency_checks.js test to shard a collection to (cherry picked from commit 75e45cbf7437cef425f7c01b3099475e0e01f478) |
| Comment by Githook User [ 26/Apr/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet', 'name': 'Max Hirschhorn'}Message: Changes the data_consistency_checks.js test to shard a collection to |