]> source.dussan.org Git - nextcloud-server.git/commit
Clear the statscache before fetching the metadata 21065/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 22 May 2020 07:21:53 +0000 (09:21 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 22 May 2020 07:21:53 +0000 (09:21 +0200)
commit6b2674478770e1b09aedc4e32613a4e01f9075b9
tree1d4a1ef90647adc221e866743f5e17a8ba449aa8
parent0a45f44bebb10d01d4f8140830b6b186199d56ba
Clear the statscache before fetching the metadata

Else if a lot of writes happen. It might happen that an old stat result
is used. Resulting in a wrong file size for the file. For example the
text app when a lot of people edit at the same time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Files/Storage/Local.php