Project

General

Profile

Actions

Feature #17936

closed

Arv-put resume cache handling when having expired block signatures

Added by Lucas Di Pentima over 2 years ago. Updated over 2 years ago.

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

Description

With the recently added token expiration features, arv-put will start to complain more often about its resume cache not being valid anymore. In addition to this, arv-put is called from other Arvados tools like arv-keepdocker that may show arv-put's suggestions to users making the UX somewhat confusing.

It may be necessary to make arv-put automatically handle these situations, for example by removing the resume cache if it detects that there're expired block signatures on it.

Add a --batch mode to arv-put which automatically deletes the cache and retries on error.

Modify arv-keepdocker to use the --batch mode when it invokes arv-put.


Subtasks 1 (0 open1 closed)

Task #17973: Review 17936-arvput-batch-modeResolvedPeter Amstutz08/09/2021Actions
Actions #1

Updated by Lucas Di Pentima over 2 years ago

  • Release set to 41
Actions #2

Updated by Anonymous over 2 years ago

Thanks google

Actions #3

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2021-08-18 sprint to 2021-09-01 sprint
Actions #4

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2021-09-01 sprint to 2021-08-18 sprint
Actions #5

Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)
Actions #6

Updated by Peter Amstutz over 2 years ago

  • Assigned To set to Lucas Di Pentima
Actions #7

Updated by Lucas Di Pentima over 2 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Lucas Di Pentima over 2 years ago

Updates at 8cb640565 - branch 17936-arvput-batch-mode
Test run: developer-run-tests: #2626

  • Adds --batch argument to arv-put making it ignore the cache file if it's not valid.
  • Makes arv-keepdocker to always call arv-put with --batch so that users don't get confusing messages regarding invalid cached signatures from an indirectly called arv-put.
  • Adds tests.
Actions #9

Updated by Peter Amstutz over 2 years ago

Lucas Di Pentima wrote:

Updates at 8cb640565 - branch 17936-arvput-batch-mode
Test run: developer-run-tests: #2626

  • Adds --batch argument to arv-put making it ignore the cache file if it's not valid.
  • Makes arv-keepdocker to always call arv-put with --batch so that users don't get confusing messages regarding invalid cached signatures from an indirectly called arv-put.
  • Adds tests.

This LGTM.

Actions #10

Updated by Lucas Di Pentima over 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF