bchavez / RethinkDb.Driver

:headphones: A NoSQL C#/.NET RethinkDB database driver with 100% ReQL API coverage.
http://rethinkdb.com/api/java
Other
384 stars 134 forks source link

Single connections have an Open property. Consider adding this property to connection pools. #83

Closed jjonesrs closed 8 years ago

jjonesrs commented 8 years ago

At the moment, there isn't a way to determine if any or all connections in a ConnectionPool are open.

This would be useful for testing whether a connection attempt succeeded and for whether a query can be sent across the wire.

bchavez commented 8 years ago

Hey, @jjonesrs. Your issue should be fixed now.

Your request is now in v2.3.11 and available on NuGet. ConnectionPool.AnyOpen to check if any node is available in the host pool to serve up the query.

:thoughtballoon: :calendar: [**"Something's missing from the mind... Think about it everyday since '95."**_](https://www.youtube.com/watch?v=S3vDBPO0FcQ)