diff --git a/cmd/admin-heal.go b/cmd/admin-heal.go
index cc221b72..707d9d62 100644
--- a/cmd/admin-heal.go
+++ b/cmd/admin-heal.go
@@ -41,37 +41,45 @@ const (
var adminHealFlags = []cli.Flag{
cli.StringFlag{
- Name: "scan",
- Usage: "select the healing scan mode (normal/deep)",
- Value: scanNormalMode,
+ Name: "scan",
+ Usage: "select the healing scan mode (normal/deep)",
+ Value: scanNormalMode,
+ Hidden: true,
},
cli.BoolFlag{
- Name: "recursive, r",
- Usage: "heal recursively",
+ Name: "recursive, r",
+ Usage: "heal recursively",
+ Hidden: true,
},
cli.BoolFlag{
- Name: "dry-run, n",
- Usage: "only inspect data, but do not mutate",
+ Name: "dry-run, n",
+ Usage: "only inspect data, but do not mutate",
+ Hidden: true,
},
cli.BoolFlag{
- Name: "force-start, f",
- Usage: "force start a new heal sequence",
+ Name: "force-start, f",
+ Usage: "force start a new heal sequence",
+ Hidden: true,
},
cli.BoolFlag{
- Name: "force-stop, s",
- Usage: "force stop a running heal sequence",
+ Name: "force-stop, s",
+ Usage: "force stop a running heal sequence",
+ Hidden: true,
},
cli.BoolFlag{
- Name: "remove",
- Usage: "remove dangling objects in heal sequence",
+ Name: "remove",
+ Usage: "remove dangling objects in heal sequence",
+ Hidden: true,
},
cli.StringFlag{
- Name: "storage-class",
- Usage: "show server/drives failure tolerance with the given storage class",
+ Name: "storage-class",
+ Usage: "show server/drives failure tolerance with the given storage class",
+ Hidden: true,
},
cli.BoolFlag{
- Name: "rewrite",
- Usage: "rewrite objects from older to newer format",
+ Name: "rewrite",
+ Usage: "rewrite objects from older to newer format",
+ Hidden: true,
},
cli.BoolFlag{
Name: "verbose, v",
@@ -81,7 +89,7 @@ var adminHealFlags = []cli.Flag{
var adminHealCmd = cli.Command{
Name: "heal",
- Usage: "heal bucket(s) and object(s) on MinIO server",
+ Usage: "monitor healing for bucket(s) and object(s) on MinIO server",
Action: mainAdminHeal,
OnUsageError: onUsageError,
Before: setGlobalsFromContext,
@@ -652,13 +660,6 @@ func mainAdminHeal(ctx *cli.Context) error {
return nil
}
- for content := range clnt.List(globalContext, ListOptions{Recursive: false, ShowDir: DirNone}) {
- if content.Err != nil {
- fatalIf(content.Err.Trace(clnt.GetURL().String()), "Unable to heal bucket `"+bucket+"`.")
- return nil
- }
- }
-
opts := madmin.HealOpts{
ScanMode: transformScanArg(ctx.String("scan")),
Remove: ctx.Bool("remove"),
diff --git a/cmd/admin-trace.go b/cmd/admin-trace.go
index 1219f897..0a341d92 100644
--- a/cmd/admin-trace.go
+++ b/cmd/admin-trace.go
@@ -159,7 +159,7 @@ func traceCallsHelp() string {
var adminTraceCmd = cli.Command{
Name: "trace",
- Usage: "show http trace for MinIO server",
+ Usage: "Show HTTP call trace for all incoming and internode on MinIO",
Action: mainAdminTrace,
OnUsageError: onUsageError,
Before: setGlobalsFromContext,
@@ -174,7 +174,6 @@ USAGE:
FLAGS:
{{range .VisibleFlags}}{{.}}
{{end}}
-
CALL TYPES:
` + traceCallsHelp() + `
diff --git a/docs/minio-admin-complete-guide.md b/docs/minio-admin-complete-guide.md
index 0d105026..8d3c79e1 100644
--- a/docs/minio-admin-complete-guide.md
+++ b/docs/minio-admin-complete-guide.md
@@ -884,16 +884,13 @@ mc admin decommission cancel myminio/
```
-### Command `heal` - heal bucket(s) and object(s) on MinIO server
-Healing is automatic on server side which runs on a continuous basis on a low priority thread.
-
-
-### Command `heal` - heal bucket(s) and object(s) on MinIO server
-Healing is automatic on server side which runs on a continuous basis on a low priority thread.
+### Command `heal` - monitor healing of bucket(s) and object(s) on MinIO Server
+Healing is automatic on server side which runs on a continuous basis on a low priority thread, this
+command allows you to monitor the running heals on the server side.
```
NAME:
- mc admin heal - heal bucket(s) and object(s) on MinIO server
+ mc admin heal - monitor healing of bucket(s) and object(s) on MinIO Server
USAGE:
mc admin heal [FLAGS] TARGET
@@ -905,16 +902,16 @@ FLAGS:
*Example: Monitor healing status on a running server at alias 'myminio'.*
```
- mc admin heal myminio/
+mc admin heal myminio/
```
-### Command `trace` - Show http trace for MinIO server
-`trace` command displays server http trace of one or all MinIO servers (under distributed cluster)
+### Command `trace` - Show HTTP call trace for all incoming and internode on MinIO
+`trace` command displays server HTTP trace of one or all MinIO servers (under distributed cluster)
```sh
NAME:
- mc admin trace - show http trace for MinIO server
+ mc admin trace - Show HTTP call trace for all incoming and internode on MinIO
FLAGS:
--verbose, -v print verbose trace
@@ -932,12 +929,15 @@ FLAGS:
--response-duration 5ms trace calls only with response duration greater than this threshold (e.g. 5ms) (default: 0s)
--filter-size value filter size, use with filter (see UNITS)
--help, -h show help
-
+
CALL TYPES:
+ batch-keyrotation: Trace Batch KeyRotation (alias: brot)
batch-replication: Trace Batch Replication (alias: brep)
bootstrap: Trace Bootstrap operations
decommission: Trace Decommission operations (alias: decom)
+ ftp: Trace FTP operations
healing: Trace Healing operations (alias: heal)
+ ilm: Trace ILM operations
internal: Trace Internal RPC calls
os: Trace Operating System calls
rebalance: Trace Server Pool Rebalancing operations