-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.4.15
-
Component/s: Replication
-
None
-
Replication
-
Fully Compatible
-
v4.2, v4.0, v3.6
-
Repl 2018-06-18
-
19
SERVER-31265 fixes the race of closing connection for new connections in 3.6 and beyond, but wasn't backported to 3.4. That causes the new connection for "ismaster" to be closed after sending stepdown command in multi_rs.js on 3.4. A workaround is to wait for "secondary" state after sending stepdown command but before calling "reconnect" which sends an "ismaster".