dcache
dcache copied to clipboard
9.2: listing via webdav appear to be very slow
It looks like listing via webdav incurred 10 second delay ..... A listing of single entry directory takes > 10 seconds.
Running bisect this patch is identified as culprit:
$ git bisect good
baa135bab951900eedc10e4d687358b5e3c50aa8 is the first bad commit
commit baa135bab951900eedc10e4d687358b5e3c50aa8
Author: Tigran Mkrtchyan <[email protected]>
Date: Tue Dec 12 15:19:16 2023 +0100
webdav: wait for upload to complete
Motivation:
Due to a race condition between file upload and file's checksum
availability a quick client might see no checksum after upload.
Modification:
Update webdav door to retry the request to the namespace if checksum is
not present in files attributes.
Result:
Fixes: #7467
Ticket: #10510
Acked-by: Lea Morschel
Acked-by: Paul Millar
Target: master, 9.2
Require-book: no
Require-notes: yes
(cherry picked from commit b13f6d7bfde62cf57e7fe1b1256d0b060bec15d3)
Signed-off-by: Tigran Mkrtchyan <[email protected]>
:040000 040000 a28e5e28d49e7449e3bb2dad242c680ec9b4a1ce 64173c687630cc6316f28286b58e5a4e304d029d M modules
https://rb.dcache.org/r/14202/