Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
ALL
-
0
Description
Seems like an election is closing the connection causing it to fail:
Example:
[js_test:test_command] 2015-10-22T16:00:19.896+0000 d20010| 2015-10-22T16:00:19.896+0000 I ASIO [NetworkInterfaceASIO] Successfully connected to ip-10-65-78-2:20011
|
2015-10-22 16:00:21 +0000
|
[js_test:test_command] 2015-10-22T16:00:21.894+0000 d20010| 2015-10-22T16:00:21.894+0000 I REPL [ReplicationExecutor] Canceling priority takeover callback
|
[js_test:test_command] 2015-10-22T16:00:21.895+0000 d20010| 2015-10-22T16:00:21.894+0000 I REPL [ReplicationExecutor] conducting a dry run election to see if we could be elected
|
[js_test:test_command] 2015-10-22T16:00:21.895+0000 d20010| 2015-10-22T16:00:21.895+0000 I REPL [ReplicationExecutor] dry election run succeeded, running for election
|
[js_test:test_command] 2015-10-22T16:00:21.895+0000 d20011| 2015-10-22T16:00:21.895+0000 I REPL [ReplicationExecutor] stepping down from primary, because a new term has begun: 2
|
[js_test:test_command] 2015-10-22T16:00:21.896+0000 d20011| 2015-10-22T16:00:21.895+0000 I REPL [replExecDBWorker-1] transition to SECONDARY
|
[js_test:test_command] 2015-10-22T16:00:21.896+0000 d20011| 2015-10-22T16:00:21.895+0000 I NETWORK [conn5] end connection 10.65.78.2:44160 (4 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.896+0000 d20011| 2015-10-22T16:00:21.895+0000 I NETWORK [conn1] end connection 127.0.0.1:59822 (4 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.896+0000 d20010| 2015-10-22T16:00:21.896+0000 I REPL [ReplicationExecutor] could not find member to sync from
|
[js_test:test_command] 2015-10-22T16:00:21.897+0000 d20011| 2015-10-22T16:00:21.896+0000 I NETWORK [conn7] end connection 10.65.78.2:44172 (2 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.897+0000 d20010| 2015-10-22T16:00:21.896+0000 I REPL [ReplicationExecutor] election succeeded, assuming primary role in term 2
|
[js_test:test_command] 2015-10-22T16:00:21.897+0000 d20010| 2015-10-22T16:00:21.896+0000 I REPL [ReplicationExecutor] transition to PRIMARY
|
[js_test:test_command] 2015-10-22T16:00:21.898+0000 d20010| 2015-10-22T16:00:21.896+0000 I COMMAND [conn1] command admin.$cmd command: replSetTest { replSetTest: 1.0, waitForMemberState: 1.0, timeoutMillis: 60000.0 } ntoreturn:1 ntoskip:0 keyUpdates:0 writeConflicts:0 numYields:0 reslen:22 locks:{} protocol:op_command 4974ms
|
[js_test:test_command] 2015-10-22T16:00:21.898+0000 d20011| 2015-10-22T16:00:21.896+0000 I NETWORK [initandlisten] connection accepted from 10.65.78.2:44177 #9 (3 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.898+0000 d20011| 2015-10-22T16:00:21.896+0000 I NETWORK [conn3] end connection 10.65.78.2:44154 (2 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.898+0000 2015-10-22T16:00:21.897+0000 E QUERY [thread1] Error: error doing query: failed :
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 DB.prototype.runCommand@src/mongo/shell/db.js:132:1
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 Mongo.prototype.adminCommand@src/mongo/shell/mongo.js:58:12
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 @jstests/replsets/test_command.js:89:1
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 @jstests/replsets/test_command.js:5:2
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 d20012| 2015-10-22T16:00:21.897+0000 I NETWORK [initandlisten] connection accepted from 10.65.78.2:44263 #6 (4 connections now open)
|
[js_test:test_command] 2015-10-22T16:00:21.899+0000 failed to load: jstests/replsets/test_command.js
|
Attachments
Issue Links
- depends on
-
SERVER-20979 add replication test commands to support failover time performance testing
-
- Closed
-