Actions
Feature #22321
openUpdate keepweb.handler to repack after writing
Story points:
-
Description
From Efficient block packing for small WebDAV uploads
- when handling a PUT request, first write the file (using replace_files); then call Repack (with CachedOnly: true) on the updated collection; then call Sync if anything was repacked
- this ensures the upload is preserved even if Repack/Sync goes badly, e.g., in a race with another update
- if another request is already running Sync on the same collection UUID, just skip it this time
Related issues
Actions