1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00

MinIO Implicit Prefix Trimming on Removal of Last Object (see minio/mc issue#3621)

This commit is contained in:
ravindk89
2021-03-31 21:41:32 -04:00
committed by Ravind Kumar
parent 077dcc8f14
commit bc8d563e96
4 changed files with 90 additions and 1 deletions

View File

@ -21,6 +21,23 @@ S3-compatible hosts as the synchronization source.
.. end-mc-mirror-desc
MinIO Trims Empty Prefixes on Object Removal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The :mc-cmd-option:`mc mirror watch` command continuously synchronizes the
source and destination targets. This includes automatically removing objects
on the destination if they are removed on the source.
.. |command| replace:: :mc-cmd-option:`mc mirror watch`
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes
:end-before: end-remove-api-trims-prefixes
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes-fs
:end-before: end-remove-api-trims-prefixes-fs
Examples
--------

View File

@ -32,6 +32,19 @@ Resume Move Operations
Use :mc-cmd-option:`mc mv continue` to resume an interrupted or failed
move operation from the point of failure.
MinIO Trims Empty Prefixes on Object Removal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. |command| replace:: :mc-cmd:`mc mv`
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes
:end-before: end-remove-api-trims-prefixes
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes-fs
:end-before: end-remove-api-trims-prefixes-fs
Examples
--------

View File

@ -29,6 +29,17 @@ itself. Any configurations associated to the bucket remain in place, such as
To completely remove a bucket, use :mc:`mc rb` instead of :mc:`mc rm`.
MinIO Trims Empty Prefixes on Object Removal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes
:end-before: end-remove-api-trims-prefixes
.. include:: /includes/common-admonitions.rst
:start-after: start-remove-api-trims-prefixes-fs
:end-before: end-remove-api-trims-prefixes-fs
Examples
--------