Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63589

Increase mongobridge log level in all_config_servers_blackholed_from_mongos.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2022-02-21
    • 9

      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.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: