[SERVER-63589] Increase mongobridge log level in all_config_servers_blackholed_from_mongos.js Created: 11/Feb/22  Updated: 29/Oct/23  Resolved: 15/Feb/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-02-21
Participants:
Linked BF Score: 9

 Description   

all_config_servers_blackholed_from_mongos.js might fail when setting up a sharded cluster when stopping the balancer with the error:

uncaught exception: Error: error doing query: failed: network error while attempting to run command 'balancerStop' on host '13232d7736b0:20770'  :
DB.prototype.runCommand@src/mongo/shell/db.js:189:19
DB.prototype.adminCommand@src/mongo/shell/db.js:201:12
sh.stopBalancer@src/mongo/shell/utils_sh.js:184:18
 _extendWithShMethods/</self[fn]@src/mongo/shell/shardingtest.js:213:28
 _configureCluster@src/mongo/shell/shardingtest.js:226:13
 ShardingTest@src/mongo/shell/shardingtest.js:1655:9
 @jstests/sharding/all_config_servers_blackholed_from_mongos.js:16:10
 @jstests/sharding/all_config_servers_blackholed_from_mongos.js:13:2
 failed to load: jstests/sharding/all_config_servers_blackholed_from_mongos.js

In order to debug this, the log level of mongobridge should be increased and wait for the test to fail again to get more information on the failure.



 Comments   
Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-63589 Increase mongobridge verbosity in all_config_servers_blackholed_from_mongos.js test
Branch: master
https://github.com/mongodb/mongo/commit/7ef3509ca2df4e301f19644441ce6104024512d4

Generated at Thu Feb 08 05:58:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.