Commit Graph

93 Commits (9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369)

Author SHA1 Message Date
Christoph Wurst 3bfba2042c
fix(db): Prevent two connections for single node databases 2 years ago
Josh 48b47f7903
fix(db): Log loong transaction times at debug level 2 years ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Robin Appelman d6be80ceaf
feat: add option to add backtrace to the query logger 2 years ago
Robin Appelman 8c10c78099
feat: add request id as comment to all queries 2 years ago
Git'Fellow 5f519a2e7d
chore(db): move to OCP\Server 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Thomas Citharel 2a0815401e feat(db): set Doctrine to use nest transactions with savepoints 2 years ago
Christoph Wurst 1f46e4b854
fix(db): Let dirty writes cool off 2 years ago
Christoph Wurst cf17a20835 fix(db): Give dirty read exception a message 2 years ago
Christoph Wurst aef28e191a
fix(db): Unify long transaction log/exception message 2 years ago
Christoph Wurst 97152de9bf
fix(db): Execute dirty reads on the primary node 2 years ago
Christoph Wurst 911ab393c0
feat(db): Make dirty query logging available in production 2 years ago
Christoph Wurst ab0d7c007d fix(db): Remove very verbose dirty query logs 2 years ago
Christoph Wurst f54b08c224
fix(db): Do not log transacted reads as dirty read 2 years ago
Julius Härtl 296096e069
fix: Add reconnect check in case of timeouts on the db side 2 years ago
Julius Härtl c17c42a0b2 feat: First attempt to track dirty tables after writes and switch back to replicas if reads go to other tables 2 years ago
Julius Härtl 3e60092b7d feat: Add logging for transaction time 2 years ago
Julius Härtl 79c4986354
enh: Implement PrimaryReadReplicaConnection 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling 160298c556
fix(mysql): Remove custom MySQL workaround from 2015 2 years ago
Joas Schilling b202b139dd
fix(postgres): Remove old Postgres 9.4 workaround 2 years ago
Joas Schilling ad839dbb0a
fix(sqlite): Remove no longer required autoincrement fix 2 years ago
Carl Schwan e966cfbc4b
Cleanup plsam issues in DB/ContactsManager and Console 2 years ago
Andrew Summers 1395a53602
Refactor `OC\Server::getSecureRandom` 2 years ago
Arthur Schiwon 997c2a2a79
fix DBAL exception handling in setValues 3 years ago
Côme Chilliet 8a16e7e8a1
Fix more psalm issues in OC\DB 3 years ago
Côme Chilliet 378630f8a0
Fix psalm issues following doctrine/dbal bump 3 years ago
Côme Chilliet a2a7150d6d
Migrate Repair events to OCP\EventDispatcher\Event 3 years ago
Robin Appelman 1537c3d23b
record backtrace when profiling db requests 4 years ago
Carl Schwan 7d272c54d0 Add a built-in profiler inside Nextcloud 4 years ago
Côme Chilliet ea23523c70
Adapt more code to migration to LoggerInterface 4 years ago
Julius Härtl 83717a7800
Add event logging for db and redis connection 4 years ago
Louis Chemineau 405c5eb813 Add --dry-run option for db:add-missing-* cmd 4 years ago
Joas Schilling 1c138d3ae2
Allow to prefix the Query log with the request id 4 years ago
Carl Schwan 52760a95d9
Check if directoy is writable instead of possibly missing file 4 years ago
Joas Schilling 168c673755
Allow to log DB, redis and LDAP requests into files 4 years ago
Joas Schilling 5bb49feef8
Allow NULL as well for limit, not integer only 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Morris Jobke ab48d5e8cb
Cleanup unneeded code around database.xml 5 years ago
Robin Appelman 111fa47f10
remove ReconnectWrapper 5 years ago
Christoph Wurst 2c9cdc1cdb
Add our own DB exception abstraction 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling fbda2d1d25
Don't try to update on NotNullConstraintViolationException, only on unique or foreign key 5 years ago
Joas Schilling 1aa9c9164d
Fix comparing the empty string for global credentials 5 years ago
Julius Härtl f49630f48c
Replace prefix in executeUpdate 5 years ago
Roeland Jago Douma fe46149560
Psalm fixes 5 years ago
Roeland Jago Douma 28be188fbc
Update internal connection class 5 years ago
Morris Jobke f12e7e0e95
Fetch the logger and system config once for all query builder instances 5 years ago