[SERVER-20692] fair_balancer_round.js fails intermittently (movePrimary returns error "database foo not found") Created: 29/Sep/15  Updated: 06/Oct/15  Resolved: 06/Oct/15

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

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: Spencer Brody (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-20690 Test with multiple mongos can fail be... Closed
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Spencer Brody (Inactive) [ 06/Oct/15 ]

Duplicate of SERVER-20690

Comment by J Rassi [ 05/Oct/15 ]

Another failure with the same symptom observed on Enterprise RHEL 5.7: <https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_57_64_bit_sharding_auth_1fd64cee88562e77883db5b75ee666a55b15e748_15_10_02_22_00_15>. Removed "OS X" from issue summary.

Comment by J Rassi [ 29/Sep/15 ]

Per discussion with spencer and renctan, we will apply a fix to fair_balancer_round.js in this ticket, and implement a general fix for this problem in SERVER-20690.

Assigning to Ren for the current iteration.

Comment by J Rassi [ 29/Sep/15 ]

Linking to SERVER-20690, reassigning to renctan.

Generated at Thu Feb 08 03:54:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.