Description:
I bet there are many places in the docs that say a primary closes connections when it steps down. Such documentation should just be deleted. A more detailed description could also mention that if a client is streaming unacknowledged writes to a server when it steps down, then the server will soon close the connection and the client will receive a network error.
Engineering Ticket Description:
Testing should include:
- that unacknowledged writes to a secondary result in a disconnection.
- that unacknowledged writes in progress when a stepdown occurs result in a disconnection.