sftpgo/dataprovider
Nicola Murino 18d0bf9dc3
execute db migrations holding a database-level lock
so migrations cannot be executed concurrently if you run them from multiple
SFTPGo instances at the same time.

CockroachDB doesn't support database-level locks

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-05-15 15:25:12 +02:00
..
actions.go add groups support 2022-04-25 15:49:11 +02:00
admin.go add groups support 2022-04-25 15:49:11 +02:00
apikey.go change log level from warn to error where appropriate 2021-12-16 19:53:00 +01:00
bolt.go allow building with bolt provider disabled 2022-05-09 11:19:29 +02:00
bolt_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
cachedpassword.go OpenAPI: add users API 2021-06-05 16:07:09 +02:00
cacheduser.go add groups support 2022-04-25 15:49:11 +02:00
dataprovider.go data provider: remove prefer_database_credentials 2022-04-28 12:55:01 +02:00
group.go data provider: remove prefer_database_credentials 2022-04-28 12:55:01 +02:00
memory.go always check recently updated users 2022-04-30 11:59:36 +02:00
mysql.go execute db migrations holding a database-level lock 2022-05-15 15:25:12 +02:00
mysql_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
pgsql.go data provider: remove prefer_database_credentials 2022-04-28 12:55:01 +02:00
pgsql_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
quotaupdater.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
scheduler.go allow building with bolt provider disabled 2022-05-09 11:19:29 +02:00
share.go web client: add share mode read/write 2022-05-09 19:09:43 +02:00
sqlcommon.go execute db migrations holding a database-level lock 2022-05-15 15:25:12 +02:00
sqlite.go always check recently updated users 2022-04-30 11:59:36 +02:00
sqlite_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
sqlqueries.go sql provider: enhanced folder mapping query using an upsert 2022-04-28 14:49:57 +02:00
user.go always check recently updated users 2022-04-30 11:59:36 +02:00