open-vault/plugins/database
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 Close cassandra session if we fail to validate it (#7613) 2019-10-10 11:45:59 -07:00
hana Combined Database backend: Add GenerateCredentials to the CredentialsProducer Interface (#7010) 2019-07-05 14:34:47 -04:00
influxdb Combined Database backend: Add GenerateCredentials to the CredentialsProducer Interface (#7010) 2019-07-05 14:34:47 -04:00
mongodb Combined Database backend: Add Static Account support to MongoDB (#7003) 2019-07-05 14:57:01 -04:00
mssql Combined Database backend: Add GenerateCredentials to the CredentialsProducer Interface (#7010) 2019-07-05 14:34:47 -04:00
mysql Combined Database backend: Add Static Account support to MySQL (#6970) 2019-07-05 14:52:56 -04:00
postgresql Combined Database backend: Add GenerateCredentials to the CredentialsProducer Interface (#7010) 2019-07-05 14:34:47 -04:00