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

fair_balancer_round.js fails intermittently (movePrimary returns error "database foo not found")

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL

      fair_balancer_round.js has been failing intermittently on OS X since last week. The test runs a movePrimary command, which is unexpectedly returning the error "database foo not found". A list follows of recent failures.

      OS X 10.8 DEBUG:

      SSL OS X 10.8:

      Excerpt from first failure in above list:

      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 assert failed : { "ok" : 0, "errmsg" : "database foo not found", "code" : 26 }
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 doassert@src/mongo/shell/assert.js:15:14
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 assert@src/mongo/shell/assert.js:25:5
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 ShardingTest.prototype.ensurePrimaryShard@src/mongo/shell/shardingtest.js:1285:5
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 @jstests/sharding/fair_balancer_round.js:18:1
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 2015-09-29T11:08:50.413-0400 E QUERY    [thread1] Error: assert failed : { "ok" : 0, "errmsg" : "database foo not found", "code" : 26 } :
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 doassert@src/mongo/shell/assert.js:15:14
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.413-0400 assert@src/mongo/shell/assert.js:25:5
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.414-0400 ShardingTest.prototype.ensurePrimaryShard@src/mongo/shell/shardingtest.js:1285:5
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.414-0400 @jstests/sharding/fair_balancer_round.js:18:1
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.414-0400 
      [js_test:fair_balancer_round] 2015-09-29T11:08:50.414-0400 failed to load: jstests/sharding/fair_balancer_round.js
      

      Assigning to spencer for triage.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: