lablup / backend.ai

Backend.AI is a streamlined, container-based computing cluster platform that hosts popular computing/ML frameworks and diverse programming languages, with pluggable heterogeneous accelerator support including CUDA GPU, ROCm GPU, TPU, IPU and other NPUs.
https://www.backend.ai
GNU Lesser General Public License v3.0
504 stars 150 forks source link

Enhance overall VFolder removal experience #2376

Open kyujin-cho opened 3 months ago

kyujin-cho commented 3 months ago

Motivation

File operations take a long time and are very fragile. Backend.AI should assume that vfolder deletion process can fail at any time.

Currently, there are two design issues:

This is a follow-up to:

and the completion of:

Proposed implementation details

Decoupling user account purging and vfolder deletion

Moving to trash bin

Deleting forever

History cleanup

fregataa commented 2 months ago

We made a glossary related to VFolder deletion.

Does this issue suggest to replace delete forever with flush or add support for flush?

achimnol commented 2 months ago

Since the filesystem-level deletion process can take a long time, or gets failed and retried afterwards, we should show a small notice to the users like: "The deletion process and restoring the available storage space may take up to 12 hours."