Skip to content

Giving mirror the option to exit early when --remove is not set #5116

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

Merged
merged 5 commits into from
Feb 4, 2025

Conversation

zveinn
Copy link
Contributor

@zveinn zveinn commented Jan 21, 2025

This PR allowed mc mirror to skip full listing of the target bucket if --remove is not set.

NOTE: I marked this as a speed up with no functional changes, but technically mirror will change it's behavior if --remove is not used

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)

@zveinn zveinn requested a review from vadmeste January 22, 2025 12:58
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't vouch for functionality, but rest lgtm

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one variable renaming, LGTM otherwise

@harshavardhana harshavardhana merged commit 8d713ff into minio:master Feb 4, 2025
5 checks passed
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.

4 participants