wusong
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
4 deletions
-
weed/shell/command_volume_tier_download.go
-
weed/stats/stats.go
|
|
@ -4,9 +4,10 @@ import ( |
|
|
|
"context" |
|
|
|
"flag" |
|
|
|
"fmt" |
|
|
|
"github.com/seaweedfs/seaweedfs/weed/pb" |
|
|
|
"io" |
|
|
|
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/pb" |
|
|
|
|
|
|
|
"google.golang.org/grpc" |
|
|
|
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/operation" |
|
|
@ -34,7 +35,6 @@ func (c *commandVolumeTierDownload) Help() string { |
|
|
|
|
|
|
|
e.g.: |
|
|
|
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. |
|
|
|
|
|
|
|
|
|
@ -100,8 +100,6 @@ func (ss *ServerStats) Start() { |
|
|
|
ss.ReadRequests.Add(tv) |
|
|
|
case tv := <-Chan.WriteRequests: |
|
|
|
ss.WriteRequests.Add(tv) |
|
|
|
case tv := <-Chan.ReadRequests: |
|
|
|
ss.ReadRequests.Add(tv) |
|
|
|
case tv := <-Chan.DeleteRequests: |
|
|
|
ss.DeleteRequests.Add(tv) |
|
|
|
case tv := <-Chan.BytesIn: |
|
|
|