[SERVER-20586] repl.js creating role times out Created: 11/Sep/15  Updated: 25/Jan/17  Resolved: 23/Sep/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.13, 3.1.9

Type: Bug Priority: Minor - P4
Reporter: Charlie Swanson Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: RPL A (10/09/15)
Participants:
Linked BF Score: 0

 Description   

Task
Logs

[js_test:repl] 2015-09-11T17:37:36.995+0000 assert: command failed: { "ok" : 0, "errmsg" : "timeout", "code" : 58 } : undefined
[js_test:repl] 2015-09-11T17:37:36.995+0000 _getErrorWithCode@src/mongo/shell/utils.js:23:13
[js_test:repl] 2015-09-11T17:37:36.995+0000 doassert@src/mongo/shell/assert.js:13:14
[js_test:repl] 2015-09-11T17:37:36.995+0000 assert.commandWorked@src/mongo/shell/assert.js:259:5
[js_test:repl] 2015-09-11T17:37:36.995+0000 AuthReplTest/that.createUserAndRoles@jstests/auth/repl.js:146:13
[js_test:repl] 2015-09-11T17:37:36.995+0000 @jstests/auth/repl.js:249:1
[js_test:repl] 2015-09-11T17:37:36.996+0000 
[js_test:repl] 2015-09-11T17:37:36.996+0000 2015-09-11T17:37:36.992+0000 E QUERY    [thread1] Error: command failed: { "ok" : 0, "errmsg" : "timeout", "code" : 58 } : undefined :
[js_test:repl] 2015-09-11T17:37:36.996+0000 _getErrorWithCode@src/mongo/shell/utils.js:23:13
[js_test:repl] 2015-09-11T17:37:36.996+0000 doassert@src/mongo/shell/assert.js:13:14
[js_test:repl] 2015-09-11T17:37:36.996+0000 assert.commandWorked@src/mongo/shell/assert.js:259:5
[js_test:repl] 2015-09-11T17:37:36.997+0000 AuthReplTest/that.createUserAndRoles@jstests/auth/repl.js:146:13
[js_test:repl] 2015-09-11T17:37:36.997+0000 @jstests/auth/repl.js:249:1
[js_test:repl] 2015-09-11T17:37:36.997+0000 
[js_test:repl] 2015-09-11T17:37:36.997+0000 failed to load: jstests/auth/repl.js



 Comments   
Comment by Githook User [ 28/Sep/16 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-20586 increase auth/repl.js timeouts to reduce flakiness

(cherry picked from commit d8b049bf3c7984af7bc7320208395b72a04905b8)
Branch: v3.0
https://github.com/mongodb/mongo/commit/65efb5865b6c816ba08d6f7675a27a10b5107516

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-20586 increase auth/repl.js timeouts to reduce flakiness
Branch: master
https://github.com/mongodb/mongo/commit/d8b049bf3c7984af7bc7320208395b72a04905b8

Comment by Matt Dannenberg [ 23/Sep/15 ]

I agree with Eric's analysis and will extent all w: all writes to have a longer timeout.

Comment by Eric Milkie [ 11/Sep/15 ]

This is master/slave. I think it's just not waiting long enough (it's only 5 seconds). The initial sync for master/slave happens after the first couple writes because it's racing I think.

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