[SERVER-33068] run_check_repl_dbhash.js hook exits without actually running dbhash on a replica set Created: 02/Feb/18 Updated: 29/Oct/23 Resolved: 03/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.15, 3.6.3, 3.7.2 |
| Type: | Bug | Priority: | Critical - P2 |
| 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-02-12 | ||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
The changes from b9decc4 as part of Inside the isMultiNodeReplSet() function, the handling for when the isMaster response indicates the server is part of replica set shadows the outer hosts variable with another let declaration, thereby causing the array of connection strings to always be empty.
Note: JavaScripts that call ReplSetTest#checkReplicatedDataHashes() (e.g. from the work in |
| Comments |
| Comment by Githook User [ 25/Mar/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Consolidates the logic in the run_check_repl_dbhash.js and Also adds a test that relies on mongod logging to verify that the (cherry picked from commit 64bed8173387fbafcfcf39bfb9aa6cecadf25822) |
| Comment by Githook User [ 11/Feb/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Consolidates the logic in the run_check_repl_dbhash.js and Also adds a test that relies on mongod logging to verify that the (cherry picked from commit 64bed8173387fbafcfcf39bfb9aa6cecadf25822) |
| Comment by Githook User [ 03/Feb/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Consolidates the logic in the run_check_repl_dbhash.js and Also adds a test that relies on mongod logging to verify that the |