ensure we do properly failed hydration jobs
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Sun, 3 Apr 2022 14:12:42 +0000 (16:12 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Sun, 3 Apr 2022 14:12:42 +0000 (16:12 +0200)
commit2a3059d779a2b656b61615db775f6022304137fc
tree152745fe1457277b29df0464a084397335c534af
parent2fc8e5c94cc17e00741f17e99ca8254b1db570e0
ensure we do properly failed hydration jobs

report status when the job is in error at end of hydration request
instead of doing the opposite

properly set status in db when a file failed to hydrate (still a virtual
file not a real one)

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/vfs/cfapi/cfapiwrapper.cpp
src/libsync/vfs/cfapi/hydrationjob.cpp