open-vault/plugins/database/cassandra
Jack Kleeman de7489124f Close cassandra session if we fail to validate it (#7613)
Currently in the C* database plugin, connection validation errors, as
well as a parsing error, can lead us to return an error and never use an
open gocql session, which may in fact have many open connections. These
connections stay open forever. If you end up in an error loop due to,
for example, a problem with permissions, you will eventually exhaust
file descriptors on the machine.

We simply need to close the session if we aren't going to use it.
2019-10-10 11:45:59 -07:00
..
cassandra-database-plugin
test-fixtures
cassandra.go Combined Database backend: Add GenerateCredentials to the CredentialsProducer Interface (#7010) 2019-07-05 14:34:47 -04:00
cassandra_test.go Merge multiple functions for creating consul containers into one. (#6612) 2019-04-22 12:26:10 -04:00
connection_producer.go Close cassandra session if we fail to validate it (#7613) 2019-10-10 11:45:59 -07:00