Project

General

Profile

Actions

Feature #22321

open

Update keepweb.handler to repack after writing

Added by Tom Clegg 2 days ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
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

Related to Arvados - Idea #20996: Efficient packing of small files into blocks in keep-webResolvedTom Clegg11/13/2024Actions
Actions

Also available in: Atom PDF