aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-05-31 23:41:17 -0700
committerChris Lu <chris.lu@gmail.com>2019-05-31 23:41:17 -0700
commitf919d0235cff244941e4e9f8c51bf89224d3d0ab (patch)
tree6be136609bee776020f80150540378d3b1d158cb
parenta72cef3c429202aff5c04ed2c7b9296b2351174f (diff)
downloadseaweedfs-f919d0235cff244941e4e9f8c51bf89224d3d0ab.tar.xz
seaweedfs-f919d0235cff244941e4e9f8c51bf89224d3d0ab.zip
ec encode volumes quiet for a period of time
-rw-r--r--weed/pb/master.proto1
-rw-r--r--weed/pb/master_pb/master.pb.go228
-rw-r--r--weed/shell/command_ec_encode.go11
-rw-r--r--weed/storage/volume.go3
-rw-r--r--weed/storage/volume_info.go3
5 files changed, 133 insertions, 113 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto
index c4cd8dc45..ce5d07d76 100644
--- a/weed/pb/master.proto
+++ b/weed/pb/master.proto
@@ -66,6 +66,7 @@ message VolumeInformationMessage {
uint32 version = 9;
uint32 ttl = 10;
uint32 compact_revision = 11;
+ int64 modified_at_second = 12;
}
message VolumeShortInformationMessage {
diff --git a/weed/pb/master_pb/master.pb.go b/weed/pb/master_pb/master.pb.go
index a2b8125e3..2b4561f8a 100644
--- a/weed/pb/master_pb/master.pb.go
+++ b/weed/pb/master_pb/master.pb.go
@@ -221,6 +221,7 @@ type VolumeInformationMessage struct {
Version uint32 `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`
Ttl uint32 `protobuf:"varint,10,opt,name=ttl" json:"ttl,omitempty"`
CompactRevision uint32 `protobuf:"varint,11,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`
+ ModifiedAtSecond int64 `protobuf:"varint,12,opt,name=modified_at_second,json=modifiedAtSecond" json:"modified_at_second,omitempty"`
}
func (m *VolumeInformationMessage) Reset() { *m = VolumeInformationMessage{} }
@@ -305,6 +306,13 @@ func (m *VolumeInformationMessage) GetCompactRevision() uint32 {
return 0
}
+func (m *VolumeInformationMessage) GetModifiedAtSecond() int64 {
+ if m != nil {
+ return m.ModifiedAtSecond
+ }
+ return 0
+}
+
type VolumeShortInformationMessage struct {
Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Collection string `protobuf:"bytes,3,opt,name=collection" json:"collection,omitempty"`
@@ -1684,113 +1692,115 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("master.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
- // 1720 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0xcb, 0x6f, 0x24, 0x47,
- 0x19, 0x77, 0xcf, 0x7b, 0xbe, 0x79, 0x78, 0xa6, 0xec, 0x75, 0x66, 0x27, 0x6c, 0x76, 0xb6, 0x72,
- 0x99, 0x84, 0x60, 0x82, 0x13, 0x89, 0x03, 0xa0, 0x28, 0xeb, 0x75, 0xc0, 0x5a, 0x67, 0xe3, 0xed,
- 0xd9, 0x2c, 0x12, 0x12, 0x6a, 0x7a, 0xba, 0xcb, 0xde, 0x96, 0x7b, 0xba, 0x9b, 0xae, 0x1a, 0xaf,
- 0x27, 0x1c, 0x38, 0xc0, 0x99, 0x0b, 0xff, 0x04, 0x7f, 0x04, 0xe2, 0xc2, 0x91, 0xbf, 0x82, 0x03,
- 0x67, 0x24, 0xae, 0x08, 0x09, 0xd5, 0xab, 0xbb, 0xba, 0x67, 0x6c, 0xc7, 0x91, 0xf6, 0xb0, 0xb7,
- 0xea, 0xef, 0x55, 0x5f, 0xfd, 0xea, 0x7b, 0x55, 0x43, 0x77, 0xe1, 0x52, 0x46, 0xd2, 0xfd, 0x24,
- 0x8d, 0x59, 0x8c, 0xda, 0xf2, 0xcb, 0x49, 0xe6, 0xf8, 0xaf, 0x75, 0x68, 0xff, 0x82, 0xb8, 0x29,
- 0x9b, 0x13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 0xf4, 0x9e, 0xd9, 0x21, 0xd7, 0x9f, 0x40, 0xe3, 0xfb, 0x6b, 0x85, 0x5a, 0x7b,
- 0xab, 0x2c, 0x3e, 0x87, 0xae, 0x39, 0xf9, 0x17, 0x0c, 0x6e, 0x78, 0xa7, 0x8c, 0x1f, 0xde, 0xf2,
- 0x64, 0xc0, 0x5b, 0xe8, 0x33, 0x68, 0xc8, 0x51, 0x14, 0x8d, 0x0c, 0xe1, 0xc2, 0xac, 0x5d, 0xf0,
- 0xab, 0x38, 0xb7, 0xe2, 0x2d, 0xf4, 0x14, 0x20, 0x1f, 0xe6, 0x90, 0x89, 0xcb, 0xda, 0x34, 0x39,
- 0x7e, 0x70, 0x0d, 0x37, 0x33, 0xf6, 0x4b, 0xe8, 0x17, 0x47, 0x0e, 0x34, 0xd9, 0x38, 0x55, 0x18,
- 0x79, 0x37, 0x7e, 0x74, 0x83, 0x44, 0x66, 0xf8, 0xd7, 0x30, 0x28, 0x4f, 0x12, 0x08, 0x6f, 0x54,
- 0x2c, 0x4c, 0x25, 0xe3, 0xf7, 0x6f, 0x94, 0x31, 0x41, 0xc8, 0x53, 0xbf, 0x00, 0xc2, 0x5a, 0x9d,
- 0x28, 0x80, 0xb0, 0x5e, 0x2f, 0x24, 0x08, 0xc5, 0x7c, 0x29, 0x80, 0xb0, 0x31, 0xbb, 0x0b, 0x20,
- 0x6c, 0x4e, 0x36, 0xbc, 0x35, 0x6f, 0x88, 0xff, 0xbf, 0x9f, 0xfc, 0x3f, 0x00, 0x00, 0xff, 0xff,
- 0x2e, 0x8c, 0xaa, 0x4f, 0x0f, 0x16, 0x00, 0x00,
+ // 1753 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x73, 0xdb, 0xc6,
+ 0x15, 0x37, 0x48, 0x4a, 0x22, 0x1f, 0xff, 0x88, 0x5c, 0xc9, 0x0e, 0x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 0x79, 0x32, 0x78, 0x37, 0xd0, 0x67, 0xb0, 0xad, 0xa8, 0x28, 0x72, 0x2d, 0xe3, 0x0a, 0xd7, 0xae,
+ 0xc4, 0x55, 0xe5, 0xad, 0xde, 0x0d, 0xf4, 0x18, 0xa0, 0x24, 0x73, 0xc8, 0xc6, 0x65, 0x8d, 0x4d,
+ 0x8e, 0xef, 0x5c, 0xa2, 0x2d, 0x9c, 0xfd, 0x12, 0x06, 0x55, 0xca, 0x81, 0x26, 0x1b, 0x59, 0x85,
+ 0x95, 0x77, 0xe3, 0x7b, 0x57, 0x58, 0x14, 0x8e, 0x7f, 0x0d, 0xc3, 0x3a, 0x93, 0x40, 0xde, 0xc6,
+ 0x89, 0x15, 0x56, 0x32, 0x7e, 0xff, 0x4a, 0x1b, 0x1b, 0x84, 0x32, 0xf5, 0x2b, 0x20, 0xac, 0xd5,
+ 0x89, 0x0a, 0x08, 0xeb, 0xf5, 0x42, 0x81, 0x50, 0xcd, 0x97, 0x0a, 0x08, 0x1b, 0xb3, 0xbb, 0x02,
+ 0xc2, 0xe6, 0x64, 0xf3, 0x6e, 0xcc, 0xb7, 0xe5, 0xdf, 0xe2, 0x4f, 0xfe, 0x1f, 0x00, 0x00, 0xff,
+ 0xff, 0xbd, 0xf3, 0x4f, 0x44, 0x3d, 0x16, 0x00, 0x00,
}
diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go
index e69d1bfc7..7ecd7bb8c 100644
--- a/weed/shell/command_ec_encode.go
+++ b/weed/shell/command_ec_encode.go
@@ -7,6 +7,7 @@ import (
"io"
"sort"
"sync"
+ "time"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation"
@@ -54,6 +55,7 @@ func (c *commandEcEncode) Do(args []string, commandEnv *commandEnv, writer io.Wr
encodeCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
volumeId := encodeCommand.Int("volumeId", 0, "the volume id")
collection := encodeCommand.String("collection", "", "the collection name")
+ quietPeriod := encodeCommand.Duration("quietFor", time.Hour, "select volumes without no writes for this period")
if err = encodeCommand.Parse(args); err != nil {
return nil
}
@@ -67,7 +69,7 @@ func (c *commandEcEncode) Do(args []string, commandEnv *commandEnv, writer io.Wr
}
// apply to all volumes in the collection
- volumeIds, err := collectVolumeByCollection(ctx, commandEnv, *collection)
+ volumeIds, err := collectVolumeForEcEncode(ctx, commandEnv, *collection, *quietPeriod)
if err != nil {
return err
}
@@ -347,7 +349,7 @@ func collectEcNodes(ctx context.Context, commandEnv *commandEnv) (ecNodes []*EcN
return
}
-func collectVolumeByCollection(ctx context.Context, commandEnv *commandEnv, selectedCollection string) (vids []needle.VolumeId, err error) {
+func collectVolumeForEcEncode(ctx context.Context, commandEnv *commandEnv, selectedCollection string, quietPeriod time.Duration) (vids []needle.VolumeId, err error) {
var resp *master_pb.VolumeListResponse
err = commandEnv.masterClient.WithClient(ctx, func(client master_pb.SeaweedClient) error {
@@ -358,12 +360,15 @@ func collectVolumeByCollection(ctx context.Context, commandEnv *commandEnv, sele
return
}
+ quietSeconds := int64((quietPeriod * time.Second).Seconds())
+ nowUnixSeconds := time.Now().Unix()
+
vidMap := make(map[uint32]bool)
for _, dc := range resp.TopologyInfo.DataCenterInfos {
for _, r := range dc.RackInfos {
for _, dn := range r.DataNodeInfos {
for _, v := range dn.VolumeInfos {
- if v.Collection == selectedCollection {
+ if v.Collection == selectedCollection && v.ModifiedAtSecond+quietSeconds < nowUnixSeconds {
vidMap[v.Id] = true
}
}
diff --git a/weed/storage/volume.go b/weed/storage/volume.go
index 61d982831..9e6f52a72 100644
--- a/weed/storage/volume.go
+++ b/weed/storage/volume.go
@@ -154,7 +154,7 @@ func (v *Volume) expiredLongEnough(maxDelayMinutes uint32) bool {
}
func (v *Volume) ToVolumeInformationMessage() *master_pb.VolumeInformationMessage {
- size, _, _ := v.FileStat()
+ size, _, modTime := v.FileStat()
return &master_pb.VolumeInformationMessage{
Id: uint32(v.Id),
Size: size,
@@ -167,5 +167,6 @@ func (v *Volume) ToVolumeInformationMessage() *master_pb.VolumeInformationMessag
Version: uint32(v.Version()),
Ttl: v.Ttl.ToUint32(),
CompactRevision: uint32(v.SuperBlock.CompactionRevision),
+ ModifiedAtSecond: modTime.Unix(),
}
}
diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.go
index 2f6d1e8f9..111058b6e 100644
--- a/weed/storage/volume_info.go
+++ b/weed/storage/volume_info.go
@@ -20,6 +20,7 @@ type VolumeInfo struct {
DeletedByteCount uint64
ReadOnly bool
CompactRevision uint32
+ ModifiedAtSecond int64
}
func NewVolumeInfo(m *master_pb.VolumeInformationMessage) (vi VolumeInfo, err error) {
@@ -33,6 +34,7 @@ func NewVolumeInfo(m *master_pb.VolumeInformationMessage) (vi VolumeInfo, err er
ReadOnly: m.ReadOnly,
Version: needle.Version(m.Version),
CompactRevision: m.CompactRevision,
+ ModifiedAtSecond: m.ModifiedAtSecond,
}
rp, e := NewReplicaPlacementFromByte(byte(m.ReplicaPlacement))
if e != nil {
@@ -76,6 +78,7 @@ func (vi VolumeInfo) ToVolumeInformationMessage() *master_pb.VolumeInformationMe
Version: uint32(vi.Version),
Ttl: vi.Ttl.ToUint32(),
CompactRevision: vi.CompactRevision,
+ ModifiedAtSecond: vi.ModifiedAtSecond,
}
}