Project

General

Profile

Actions

Idea #9592

open

[FUSE] rmdir on CollectionDirectory sets expires_at

Added by Brett Smith almost 8 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
Tom Morris
Category:
-
Target version:
Start date:
Due date:
Story points:
-
Release:
Release relationship:
Auto

Description

As of this writing, if you rmdir a CollectionDirectory in FUSE, it uses the collections/delete API. Instead, it should calculate a timestamp that is defaultTrashLifetime (or, if that's not set in the discovery document, blobSignatureTtl) seconds in the future, and update the collection's expires_at attribute to that value. The CollectionDirectory should still be removed from its parent, as now, because expiring collections do not appear in most directory listings (see #9584).


Related issues

Related to Arvados - Idea #9278: [Crunch2] Document/fix handling of collections with non-nil expires_at fieldIn ProgressActions
Copied from Arvados - Feature #3900: [Workbench] Trash button on collection uses "delete" API instead of setting expires_at/trash_atResolvedLucas Di Pentima02/10/2017Actions
Actions

Also available in: Atom PDF