Context
Before we fix GODRIVER-3919 to unskip the following spec tests, we have a gap in test coverage.
TestUnifiedSpec/server-discovery-and-monitoring/tests/unified/interruptInUse-pool-clear.json/Connection_pool_clear_uses_interruptInUseConnections=true_after_monitor_timeout TestUnifiedSpec/server-discovery-and-monitoring/tests/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable TestUnifiedSpec/server-discovery-and-monitoring/tests/unified/interruptInUse-pool-clear.json/Error_returned_from_connection_pool_clear_with_interruptInUseConnections=true_is_retryable_for_write
Definition of done
We still need to cover the chain:
- Monitor heartbeat timeout triggers pool.clearAll().
- An in-progress application operation (find/update) gets interrupted because the pool clear closes its connection.
- The resulting network error is treated as retryable.
Pitfalls
What should the implementer watch out for? What are the risks?
- related to
-
GODRIVER-3919 Monitor heartbeat retry can leave in-use connections hanging for minutes
-
- Backlog
-