Project

General

Profile

Actions

Feature #22279

open

keep-web: eliminate extra PDH lookup per request in series of PUT requests

Added by Tom Clegg 17 days ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
-

Description

In #22184 we added a UUID-to-PDH lookup in each request. If the session cache doesn't match the current PDH, we Sync the cache before processing the request. In a series of PUT requests, this adds a Sync to every request.

It would be better to avoid the extra Sync by updating the session cache with the new file content after the webdav PUT handler succeeds. Most of the time, the PDH returned by the PATCH request will agree with the UUID-to-PDH lookup in the next request, and the extra Sync will be skipped.


Related issues

Related to Arvados - Bug #22184: Consistent WebDAV behavior in load-balanced installationResolvedTom CleggActions
Actions

Also available in: Atom PDF