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

Change replicate status metrics to show additional info #4582

Merged
merged 2 commits into from Aug 30, 2023

Conversation

poornas
Copy link
Contributor

@poornas poornas commented May 26, 2023

Description

Motivation and Context

Give additional visibility into replication status

  1. mc replicate status alias/bucket - to see current replication status since server start
  2. with --nodes flag to see current replication transfer rate by nodes in the cluster
  3. mc admin replicate status alias shows site level stats.

How to test this PR?

Needs minio/minio#17293
minio/madmin-go#196
minio/minio-go#1833

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

Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

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

minor comment

cmd/replicate-status.go Outdated Show resolved Hide resolved
in `mc replicate status` for bucket replication
and `mc admin replicate status` for site replication.
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

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

lgtm

@harshavardhana harshavardhana merged commit 5a5a997 into minio:master Aug 30, 2023
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.

None yet

3 participants