aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
Commit message (Collapse)AuthorAgeFilesLines
* fix: misc code fixes around db shardingsharding-code-fixesRobin Appelman2024-09-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-9/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: hint storage id in more placesRobin Appelman2024-08-281-2/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-281-4/+92
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-8/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: make batch propagator work with sharding restrictionsRobin Appelman2024-07-171-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: make joining on tags in search queries work with shardingRobin Appelman2024-07-171-1/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: always set storage id in Cache::getRobin Appelman2024-07-171-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: add set storage id for more cache queriesRobin Appelman2024-07-171-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add base class for extending the query builderRobin Appelman2024-07-124-18/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #45172 from nextcloud/test-scanner-no-transactionsRobin Appelman2024-06-131-1/+5
|\ | | | | feat: add option to disable scanner transactions
| * feat: add option to disable scanner transactionsRobin Appelman2024-05-031-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: get child ids for folder in a separate query during moveRobin Appelman2024-06-131-4/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files): Use isRetryable to catch retryable exceptionsLouis Chemineau2024-06-111-2/+6
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | chore: Add SPDX headerAndy Scherzinger2024-05-2424-510/+79
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #43794 from nextcloud/fix/files/scanner-metadata-diffCôme Chilliet2024-05-131-2/+47
|\ \ | | | | | | fix(files): handle multidimensional arrays in scanner
| * | fix(Files): Change how scanner diffs for changed metadataJosh2024-05-081-2/+47
| |/ | | | | | | | | Fixes #43408 Signed-off-by: Josh <josh.t.richards@gmail.com>
* | Merge pull request #45058 from nextcloud/perf/db/sort-before-chunkingChristoph Wurst2024-05-071-0/+3
|\ \ | |/ |/| perf(db): Sort data for IN before chunking
| * perf(db): Sort data for IN before chunkingChristoph Wurst2024-04-261-0/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix: fix FileAccess::getByFileId(InStorage)Robin Appelman2024-05-011-2/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadataMaxence Lange2024-04-173-11/+6
|\ | | | | enh(metadata): migrate metadata to lazy appconfig
| * migrate metadata to lazy appconfigMaxence Lange2024-02-143-11/+6
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix: use proper jailed patch in watcherRobin Appelman2024-04-081-0/+74
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-5/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(files)): Add retry logic to cover deadlock situations when moving many ↵Louis Chemineau2024-03-281-6/+25
| | | | | | | | | | | | files Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat: add interface for lower level filecache acess without having to do ↵Robin Appelman2024-03-251-0/+116
| | | | | | | | | | | | direct db queries Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Refactor `OC\Server::getLockingProvider`Andrew Summers2024-03-151-1/+1
| | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | refactor(mimeloader): modernize MimeTypeLoaderThomas Citharel2024-03-141-3/+3
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | fix(filecache): Move from array_merge to avoid memory exhaustionGit'Fellow2024-03-041-2/+7
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix types + autoloaderRobin Appelman2024-02-151-5/+14
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize query pattern used by storage filterRobin Appelman2024-02-151-38/+90
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use OCP\ServerRobin Appelman2024-02-121-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* also improe cache ci for shared cacheRobin Appelman2024-02-093-18/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* improve di performance for cacheRobin Appelman2024-02-093-46/+89
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #43131 from ↵Christoph Wurst2024-02-061-1/+1
|\ | | | | | | | | nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting fix(files): Don't attempt to format a partial cache entry
| * fix(files): Don't attempt to format a partial cache entryChristoph Wurst2024-01-251-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | also updated parent etags when a changed etag is detected during scanningRobin Appelman2024-01-311-6/+29
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont reuse etag for folders marked explicitly unscannedRobin Appelman2024-01-311-1/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-121-12/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #41272 from nextcloud/fixOccScansGit'Fellow2023-11-281-3/+6
|\ | | | | fix: reduce memory consumption of scans
| * fix: reduce memory consumption of scansGit'Fellow2023-11-031-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-3/+3
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #41459 from nextcloud/enh/noid/search-metadata-nullMaxence Lange2023-11-231-0/+2
|\ \ | | | | | | implements search on null/notnull metadata
| * | implements search on null/notnull metadataMaxence Lange2023-11-221-0/+2
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | refactor: Repalce array_search with in_array in lib/Christoph Wurst2023-11-222-3/+3
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix psalmMaxence Lange2023-11-141-5/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | ignore metadata if table is emptyMaxence Lange2023-11-144-6/+26
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | moving metadataqueryMaxence Lange2023-11-133-3/+3
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat(files): Allow advanced search for filesBenjamin Gaussorgues2023-11-103-1/+17
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>