mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 02:59:13 +08:00
minor (#4723)
This commit is contained in:
parent
a80ea93efc
commit
3ec977cd6c
@ -4,9 +4,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/seaweedfs/seaweedfs/weed/pb"
|
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
|
"github.com/seaweedfs/seaweedfs/weed/pb"
|
||||||
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/seaweedfs/seaweedfs/weed/operation"
|
"github.com/seaweedfs/seaweedfs/weed/operation"
|
||||||
@ -34,7 +35,6 @@ func (c *commandVolumeTierDownload) Help() string {
|
|||||||
|
|
||||||
e.g.:
|
e.g.:
|
||||||
volume.tier.download -volumeId=7
|
volume.tier.download -volumeId=7
|
||||||
volume.tier.download -volumeId=7
|
|
||||||
|
|
||||||
This command will download the dat file of a volume from a remote tier to a volume server in local cluster.
|
This command will download the dat file of a volume from a remote tier to a volume server in local cluster.
|
||||||
|
|
||||||
|
@ -100,8 +100,6 @@ func (ss *ServerStats) Start() {
|
|||||||
ss.ReadRequests.Add(tv)
|
ss.ReadRequests.Add(tv)
|
||||||
case tv := <-Chan.WriteRequests:
|
case tv := <-Chan.WriteRequests:
|
||||||
ss.WriteRequests.Add(tv)
|
ss.WriteRequests.Add(tv)
|
||||||
case tv := <-Chan.ReadRequests:
|
|
||||||
ss.ReadRequests.Add(tv)
|
|
||||||
case tv := <-Chan.DeleteRequests:
|
case tv := <-Chan.DeleteRequests:
|
||||||
ss.DeleteRequests.Add(tv)
|
ss.DeleteRequests.Add(tv)
|
||||||
case tv := <-Chan.BytesIn:
|
case tv := <-Chan.BytesIn:
|
||||||
|
Loading…
Reference in New Issue
Block a user