Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mirror to continue syncing after an object fails to sync #4427

Merged
merged 1 commit into from Jan 6, 2023

Conversation

taran-p
Copy link
Contributor

@taran-p taran-p commented Dec 29, 2022

Description

Currently, if mc mirror is run without --overwrite, it will cancel the mirror if objects from the source also exist in the target. This changes the behavior so that an error is returned for the duplicate object, but the mirror continues with other objects, which is consistent with documentation.

Motivation and Context

Fixes #4210

How to test this PR?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

@harshavardhana harshavardhana merged commit eedcbfe into minio:master Jan 6, 2023
@taran-p taran-p deleted the mirror-fix branch January 6, 2023 19:12
djwfyi added a commit to minio/docs that referenced this pull request Jan 17, 2023
- Adds info on `mc mirror` continuing after a failed object sync [PR
4427](minio/mc#4427)
- Adds addition call type to `mc admin trace` [PR
4416](minio/mc#4416)
- Adds info about changed default file behavior for `mc support inspect`
[PR 4420](minio/mc#4420)
- Concurrent upload support for `mc pipe` [PR
4435](minio/mc#4435)
- Renames two `mc admin replicate` subcommands [PR
4383](minio/mc#4383)
- Updates behavior of `mc license update` to no longer require license
file [PR 4429](minio/mc#4429)
- New flag for `mc admin update` to bypass confirmation prompt [PR
4439](minio/mc#4427)

There is no doc issue to track this update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mc mirror without --overwrite does not continue syncing other objects after one fails to synchronize
2 participants