manila/releasenotes/notes/manila-share-support-recycle-bin-1cc7859affaf8887.yaml
haixin d51eb05c05 Update micversion to API2.69, Manila share support Recycle Bin
Add support share Recycle Bin, the end user can soft delete
share to Recycle Bin, and can restore the share within 7 days,
otherwise the share will be deleted automatically.

DocImpact
APIImpact
Partially-Implements: blueprint manila-share-support-recycle-bin

Change-Id: Ic838eec5fea890be6513514053329b1d2d86b3ba
2022-02-19 02:02:06 +08:00

18 lines
858 B
YAML

---
features:
- |
Manila now supports a "recycle bin" for shares. End users can soft-delete
their shares and have the ability to restore them for a specified interval.
This interval defaults to 7 days and is configurable via
"soft_deleted_share_retention_time". After this time has elapsed,
soft-deleted shares are automatically cleaned up.
upgrade:
- |
The share entity now contains two new fields: ``is_soft_deleted`` and
``scheduled_to_be_deleted_at``. The ``is_soft_deleted`` will be used to
identify shares in the recycle bin.. The ``scheduled_to_be_deleted_at``
field to show when the share will be deleted automatically. A new parameter
called ``is_soft_deleted`` was added to the share list API, and users will
be able to query shares and filter out the ones that are currently in the
recycle bin.