open-vault/plugins/database
Konstantinos Tsanaktsidis 247d09a1fc Fix a panic in MongoDB backend with concurrent create/revoke (#5463)
When Vault is concurrently creating and revoking leases for MongoDB
users as part of the database secrets engine, and then loses connection
to MongoDB, it can panic. This occurrs because the RevokeUser path does
_not_ lock the mutex, but the CreateUser path does. Both threads of
execution can concurently decide to call c.session.Close() in
mongodb/connection_producer.go:119, and then mgo panics when the second
close attempt occurs.
2018-10-08 09:59:39 -04:00
..
cassandra only run cassandra RotateRootCred test when in Travis (#5420) 2018-09-27 10:43:33 -05:00
hana Release database resources on each iteration of a loop (#4305) 2018-04-17 16:31:09 -07:00
mongodb Fix a panic in MongoDB backend with concurrent create/revoke (#5463) 2018-10-08 09:59:39 -04:00
mssql Fix MSSQL Root Rotation Statement (#4748) 2018-06-12 12:11:48 -04:00
mysql Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
postgresql Clean up container on connection failure, switch to ory/dockertest on package postgresql (#5050) 2018-08-07 09:56:33 -07:00