You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
between two clusters. The source cluster is using versioning, the target cluster is not.
When deleting a file in source, mc doesn't replicate the deletion on the old cluster.
If deleting all version of a file on the source, mc does replicate the deletion on the new cluster.
Actual behavior
I would except (or at least to have an option) mc mirror to delete the file on the target cluster when a file is marked for deletion on the source cluster.
Steps to reproduce the behavior
mc mirror --watch --remove --overwrite with two cluster/bucket with and without versionning
mc --version
mc version RELEASE.2024-06-12T14-34-03Z (commit-id=e7c9a733c680fe62066d24e8718f81938b4f6606
(minio servers, both source and target: minio version RELEASE.2024-06-13T22-53-53Z)
The text was updated successfully, but these errors were encountered:
mc mirror only works on latest versions, it will not replicate all versions.
Correct, but in that case it's not what is happening. I keep the previous "not deleted version".
Deleting a file under versioning by default is soft delete, permanent deletes are replicated however (only for latest version)
Yes I know that. However this have the effect of having the file as "deleted" for non-aware calls, e.g. is doesn't appear in listing unless "Show deleted objects" is checked.
I would really assume that it's more natural, if the latest version of the file is deleted, to replicate the delete via mc mirror.
If you want all versions to be replicated use MinIO's server side replication.
In that case I don't want all versions to be replicated, only the latest one :)
Again if the latest one is a delete, the 'soft-delete|delete' is not replicated to the second server, who will then have the 'version - 1'.
Expected behavior
I'm doing a
mc mirror --watch --remove --overwrite
between two clusters. The source cluster is using versioning, the target cluster is not.
When deleting a file in source, mc doesn't replicate the deletion on the old cluster.
If deleting all version of a file on the source, mc does replicate the deletion on the new cluster.
Actual behavior
I would except (or at least to have an option) mc mirror to delete the file on the target cluster when a file is marked for deletion on the source cluster.
Steps to reproduce the behavior
mc mirror --watch --remove --overwrite
with two cluster/bucket with and without versionningmc --version
mc version RELEASE.2024-06-12T14-34-03Z (commit-id=e7c9a733c680fe62066d24e8718f81938b4f6606
(minio servers, both source and target: minio version RELEASE.2024-06-13T22-53-53Z)
The text was updated successfully, but these errors were encountered: