Description:
When the closeConnectionsOnStepdown parameter is false, this change makes replSetStepDown not disconnect any clients. So the replSetStepDown command documention "Client Connections" section needs to be corrected. Same for the rs.stepDown() shell method.
This change will not be the default until SERVER-38517 is complete, which is expected by 4.2 GA.
Engineering Ticket Description:
Tests should include
- Test that writes in progress are terminated with InterruptedDueToStepdown, but the connection is not closed.
- Test that a linearizable read in progress is terminated with InterruptedDueToStepdown.