Project

General

Profile

Actions

Feature #14930

closed

Add flag to arv-put to set a trash_at date

Added by Bryan Cosca about 5 years ago. Updated almost 5 years ago.

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

Description

The use case would be for when sequencers finish uploading to arvados, we can set the timer to delete that data after some designated time period.

Trash times could be specified in 2 ways:
1. Absolute datetime: Could be accepted from a param like --trash_at "YYYY-MM-DD HH:MM"
2. Relative times: Could be accepted from a param like --trash_after XX (where XX is number of days)

Both parameters would be mutually exclusive.

The accepted format for absolute datetimes would be the one described at https://en.wikipedia.org/wiki/ISO_8601
The accepted relative time parameter unit will be number of days (to be converted to amount of seconds) and it should take into account possible timezone changes.

The relative trash time should take note of the upload finish process datetime. When uploading using the "rsync mode", it should update the trash_at value when checkpointing.


Subtasks 1 (0 open1 closed)

Task #15267: Review 14930-arvput-trash-atResolvedLucas Di Pentima06/04/2019Actions

Related issues

Related to Arvados - Feature #12980: Add --trash-at flag to arv-putResolvedActions
Actions

Also available in: Atom PDF