Project

General

Profile

Actions

Feature #14199

closed

[keepstore] copy block from remote keepstore to local keepstore

Added by Peter Amstutz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
2.0
Release:
Release relationship:
Auto

Description

API to instruct keepstore to fetch a remote block, save it, and return signed locator (variation on "proxy a block read request" with the added feature of saving the block).

Proposed API:

Request header "X-Keep-Signature: local, time=T" (where T is an RFC3339 timestamp) implies the block should be retained by keepstore.

The response includes the header "X-Keep-Locator: abc+123+Aabc"

The client will do a HEAD request (equivalent to the GET request) on remote signed locator and look for a response header that has a new locator with local block signature.

All keepstore GET and HEAD responses for block requests should support this new header/response

When the "X-Keep-Signature" request header is provided, the timestamp on the underlying block must be updated before a new signature can be returned.

Responses with an X-Keep-Locator header must also include a "Vary: X-Keep-Signature" header.


Subtasks 1 (0 open1 closed)

Task #14290: Review 14199-copy-from-remoteResolvedPeter Amstutz10/04/2018Actions

Related issues

Related to Arvados - Feature #14259: [SDK] Python collection class uses copy remote block to local keepstoreResolvedLucas Di Pentima10/30/2018Actions
Related to Arvados - Feature #14406: [SDK] Go collection uses copy remote block to local keepstoreResolvedTom Clegg11/05/2018Actions
Actions

Also available in: Atom PDF