aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--other/java/client/src/main/proto/filer.proto6
-rw-r--r--unmaintained/see_log_entry/see_log_entry.go4
-rw-r--r--weed/command/watch.go2
-rw-r--r--weed/filer2/filer_notify.go10
-rw-r--r--weed/filer2/topics.go4
-rw-r--r--weed/filesys/fscache.go1
-rw-r--r--weed/pb/filer.proto6
-rw-r--r--weed/pb/filer_pb/filer.pb.go312
-rw-r--r--weed/pb/shared_values.go2
-rw-r--r--weed/server/filer_grpc_server_listen.go4
-rw-r--r--weed/server/filer_grpc_server_rename.go2
-rw-r--r--weed/server/volume_server_handlers_write.go6
-rw-r--r--weed/storage/backend/memory_map/memory_map_backend.go2
-rw-r--r--weed/util/chunk_cache/chunk_cache.go2
-rw-r--r--weed/util/chunk_cache/chunk_cache_on_disk_test.go8
-rw-r--r--weed/util/log_buffer/log_buffer.go2
16 files changed, 186 insertions, 187 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 40316f58b..fd2b8ebe3 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -42,7 +42,7 @@ service SeaweedFiler {
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
- rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
+ rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) {
}
}
@@ -234,12 +234,12 @@ message GetFilerConfigurationResponse {
bool cipher = 7;
}
-message ListenForEventsRequest {
+message SubscribeMetadataRequest {
string client_name = 1;
string path_prefix = 2;
int64 since_ns = 3;
}
-message FullEventNotification {
+message SubscribeMetadataResponse {
string directory = 1;
EventNotification event_notification = 2;
}
diff --git a/unmaintained/see_log_entry/see_log_entry.go b/unmaintained/see_log_entry/see_log_entry.go
index 69503b65d..34965f6be 100644
--- a/unmaintained/see_log_entry/see_log_entry.go
+++ b/unmaintained/see_log_entry/see_log_entry.go
@@ -61,10 +61,10 @@ func walkLogEntryFile(dst *os.File) error {
return nil
}
- event := &filer_pb.FullEventNotification{}
+ event := &filer_pb.SubscribeMetadataResponse{}
err = proto.Unmarshal(logEntry.Data, event)
if err != nil {
- log.Printf("unexpected unmarshal filer_pb.FullEventNotification: %v", err)
+ log.Printf("unexpected unmarshal filer_pb.SubscribeMetadataResponse: %v", err)
return nil
}
diff --git a/weed/command/watch.go b/weed/command/watch.go
index 2dd6ec211..966040fbb 100644
--- a/weed/command/watch.go
+++ b/weed/command/watch.go
@@ -34,7 +34,7 @@ func runWatch(cmd *Command, args []string) bool {
watchErr := pb.WithFilerClient(*watchFiler, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
- stream, err := client.ListenForEvents(context.Background(), &filer_pb.ListenForEventsRequest{
+ stream, err := client.SubscribeMetadata(context.Background(), &filer_pb.SubscribeMetadataRequest{
ClientName: "watch",
PathPrefix: *watchTarget,
SinceNs: 0,
diff --git a/weed/filer2/filer_notify.go b/weed/filer2/filer_notify.go
index 18f96658b..c4fcefd54 100644
--- a/weed/filer2/filer_notify.go
+++ b/weed/filer2/filer_notify.go
@@ -53,13 +53,13 @@ func (f *Filer) logMetaEvent(fullpath string, eventNotification *filer_pb.EventN
dir, _ := util.FullPath(fullpath).DirAndName()
- event := &filer_pb.FullEventNotification{
+ event := &filer_pb.SubscribeMetadataResponse{
Directory: dir,
EventNotification: eventNotification,
}
data, err := proto.Marshal(event)
if err != nil {
- glog.Errorf("failed to marshal filer_pb.FullEventNotification %+v: %v", event, err)
+ glog.Errorf("failed to marshal filer_pb.SubscribeMetadataResponse %+v: %v", event, err)
return
}
@@ -97,11 +97,11 @@ func (f *Filer) ReadLogBuffer(lastReadTime time.Time, eachEventFn func(fullpath
return lastReadTime, fmt.Errorf("unexpected unmarshal filer_pb.LogEntry: %v", err)
}
- event := &filer_pb.FullEventNotification{}
+ event := &filer_pb.SubscribeMetadataResponse{}
err = proto.Unmarshal(logEntry.Data, event)
if err != nil {
- glog.Errorf("unexpected unmarshal filer_pb.FullEventNotification: %v", err)
- return lastReadTime, fmt.Errorf("unexpected unmarshal filer_pb.FullEventNotification: %v", err)
+ glog.Errorf("unexpected unmarshal filer_pb.SubscribeMetadataResponse: %v", err)
+ return lastReadTime, fmt.Errorf("unexpected unmarshal filer_pb.SubscribeMetadataResponse: %v", err)
}
err = eachEventFn(event.Directory, event.EventNotification)
diff --git a/weed/filer2/topics.go b/weed/filer2/topics.go
index 8ab409774..9c6e5c88d 100644
--- a/weed/filer2/topics.go
+++ b/weed/filer2/topics.go
@@ -1,6 +1,6 @@
package filer2
-const(
- TopicsDir = "/topics"
+const (
+ TopicsDir = "/topics"
SystemLogDir = TopicsDir + "/.system/log"
)
diff --git a/weed/filesys/fscache.go b/weed/filesys/fscache.go
index 831f3808c..b146f0615 100644
--- a/weed/filesys/fscache.go
+++ b/weed/filesys/fscache.go
@@ -62,7 +62,6 @@ func (c *FsCache) doSetFsNode(path util.FullPath, node fs.Node) {
t.node = node
}
-
func (c *FsCache) EnsureFsNode(path util.FullPath, genNodeFn func() fs.Node) fs.Node {
c.Lock()
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto
index 40316f58b..fd2b8ebe3 100644
--- a/weed/pb/filer.proto
+++ b/weed/pb/filer.proto
@@ -42,7 +42,7 @@ service SeaweedFiler {
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
- rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
+ rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) {
}
}
@@ -234,12 +234,12 @@ message GetFilerConfigurationResponse {
bool cipher = 7;
}
-message ListenForEventsRequest {
+message SubscribeMetadataRequest {
string client_name = 1;
string path_prefix = 2;
int64 since_ns = 3;
}
-message FullEventNotification {
+message SubscribeMetadataResponse {
string directory = 1;
EventNotification event_notification = 2;
}
diff --git a/weed/pb/filer_pb/filer.pb.go b/weed/pb/filer_pb/filer.pb.go
index e428bb23a..2454395b4 100644
--- a/weed/pb/filer_pb/filer.pb.go
+++ b/weed/pb/filer_pb/filer.pb.go
@@ -39,8 +39,8 @@ It has these top-level messages:
StatisticsResponse
GetFilerConfigurationRequest
GetFilerConfigurationResponse
- ListenForEventsRequest
- FullEventNotification
+ SubscribeMetadataRequest
+ SubscribeMetadataResponse
LogEntry
*/
package filer_pb
@@ -1090,56 +1090,56 @@ func (m *GetFilerConfigurationResponse) GetCipher() bool {
return false
}
-type ListenForEventsRequest struct {
+type SubscribeMetadataRequest struct {
ClientName string `protobuf:"bytes,1,opt,name=client_name,json=clientName" json:"client_name,omitempty"`
PathPrefix string `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix" json:"path_prefix,omitempty"`
SinceNs int64 `protobuf:"varint,3,opt,name=since_ns,json=sinceNs" json:"since_ns,omitempty"`
}
-func (m *ListenForEventsRequest) Reset() { *m = ListenForEventsRequest{} }
-func (m *ListenForEventsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListenForEventsRequest) ProtoMessage() {}
-func (*ListenForEventsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
+func (m *SubscribeMetadataRequest) Reset() { *m = SubscribeMetadataRequest{} }
+func (m *SubscribeMetadataRequest) String() string { return proto.CompactTextString(m) }
+func (*SubscribeMetadataRequest) ProtoMessage() {}
+func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
-func (m *ListenForEventsRequest) GetClientName() string {
+func (m *SubscribeMetadataRequest) GetClientName() string {
if m != nil {
return m.ClientName
}
return ""
}
-func (m *ListenForEventsRequest) GetPathPrefix() string {
+func (m *SubscribeMetadataRequest) GetPathPrefix() string {
if m != nil {
return m.PathPrefix
}
return ""
}
-func (m *ListenForEventsRequest) GetSinceNs() int64 {
+func (m *SubscribeMetadataRequest) GetSinceNs() int64 {
if m != nil {
return m.SinceNs
}
return 0
}
-type FullEventNotification struct {
+type SubscribeMetadataResponse struct {
Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
EventNotification *EventNotification `protobuf:"bytes,2,opt,name=event_notification,json=eventNotification" json:"event_notification,omitempty"`
}
-func (m *FullEventNotification) Reset() { *m = FullEventNotification{} }
-func (m *FullEventNotification) String() string { return proto.CompactTextString(m) }
-func (*FullEventNotification) ProtoMessage() {}
-func (*FullEventNotification) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
+func (m *SubscribeMetadataResponse) Reset() { *m = SubscribeMetadataResponse{} }
+func (m *SubscribeMetadataResponse) String() string { return proto.CompactTextString(m) }
+func (*SubscribeMetadataResponse) ProtoMessage() {}
+func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
-func (m *FullEventNotification) GetDirectory() string {
+func (m *SubscribeMetadataResponse) GetDirectory() string {
if m != nil {
return m.Directory
}
return ""
}
-func (m *FullEventNotification) GetEventNotification() *EventNotification {
+func (m *SubscribeMetadataResponse) GetEventNotification() *EventNotification {
if m != nil {
return m.EventNotification
}
@@ -1209,8 +1209,8 @@ func init() {
proto.RegisterType((*StatisticsResponse)(nil), "filer_pb.StatisticsResponse")
proto.RegisterType((*GetFilerConfigurationRequest)(nil), "filer_pb.GetFilerConfigurationRequest")
proto.RegisterType((*GetFilerConfigurationResponse)(nil), "filer_pb.GetFilerConfigurationResponse")
- proto.RegisterType((*ListenForEventsRequest)(nil), "filer_pb.ListenForEventsRequest")
- proto.RegisterType((*FullEventNotification)(nil), "filer_pb.FullEventNotification")
+ proto.RegisterType((*SubscribeMetadataRequest)(nil), "filer_pb.SubscribeMetadataRequest")
+ proto.RegisterType((*SubscribeMetadataResponse)(nil), "filer_pb.SubscribeMetadataResponse")
proto.RegisterType((*LogEntry)(nil), "filer_pb.LogEntry")
}
@@ -1236,7 +1236,7 @@ type SeaweedFilerClient interface {
DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error)
Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error)
- ListenForEvents(ctx context.Context, in *ListenForEventsRequest, opts ...grpc.CallOption) (SeaweedFiler_ListenForEventsClient, error)
+ SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error)
}
type seaweedFilerClient struct {
@@ -1369,12 +1369,12 @@ func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetF
return out, nil
}
-func (c *seaweedFilerClient) ListenForEvents(ctx context.Context, in *ListenForEventsRequest, opts ...grpc.CallOption) (SeaweedFiler_ListenForEventsClient, error) {
- stream, err := grpc.NewClientStream(ctx, &_SeaweedFiler_serviceDesc.Streams[1], c.cc, "/filer_pb.SeaweedFiler/ListenForEvents", opts...)
+func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (SeaweedFiler_SubscribeMetadataClient, error) {
+ stream, err := grpc.NewClientStream(ctx, &_SeaweedFiler_serviceDesc.Streams[1], c.cc, "/filer_pb.SeaweedFiler/SubscribeMetadata", opts...)
if err != nil {
return nil, err
}
- x := &seaweedFilerListenForEventsClient{stream}
+ x := &seaweedFilerSubscribeMetadataClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
@@ -1384,17 +1384,17 @@ func (c *seaweedFilerClient) ListenForEvents(ctx context.Context, in *ListenForE
return x, nil
}
-type SeaweedFiler_ListenForEventsClient interface {
- Recv() (*FullEventNotification, error)
+type SeaweedFiler_SubscribeMetadataClient interface {
+ Recv() (*SubscribeMetadataResponse, error)
grpc.ClientStream
}
-type seaweedFilerListenForEventsClient struct {
+type seaweedFilerSubscribeMetadataClient struct {
grpc.ClientStream
}
-func (x *seaweedFilerListenForEventsClient) Recv() (*FullEventNotification, error) {
- m := new(FullEventNotification)
+func (x *seaweedFilerSubscribeMetadataClient) Recv() (*SubscribeMetadataResponse, error) {
+ m := new(SubscribeMetadataResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
@@ -1415,7 +1415,7 @@ type SeaweedFilerServer interface {
DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error)
- ListenForEvents(*ListenForEventsRequest, SeaweedFiler_ListenForEventsServer) error
+ SubscribeMetadata(*SubscribeMetadataRequest, SeaweedFiler_SubscribeMetadataServer) error
}
func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
@@ -1623,24 +1623,24 @@ func _SeaweedFiler_GetFilerConfiguration_Handler(srv interface{}, ctx context.Co
return interceptor(ctx, in, info, handler)
}
-func _SeaweedFiler_ListenForEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
- m := new(ListenForEventsRequest)
+func _SeaweedFiler_SubscribeMetadata_Handler(srv interface{}, stream grpc.ServerStream) error {
+ m := new(SubscribeMetadataRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
- return srv.(SeaweedFilerServer).ListenForEvents(m, &seaweedFilerListenForEventsServer{stream})
+ return srv.(SeaweedFilerServer).SubscribeMetadata(m, &seaweedFilerSubscribeMetadataServer{stream})
}
-type SeaweedFiler_ListenForEventsServer interface {
- Send(*FullEventNotification) error
+type SeaweedFiler_SubscribeMetadataServer interface {
+ Send(*SubscribeMetadataResponse) error
grpc.ServerStream
}
-type seaweedFilerListenForEventsServer struct {
+type seaweedFilerSubscribeMetadataServer struct {
grpc.ServerStream
}
-func (x *seaweedFilerListenForEventsServer) Send(m *FullEventNotification) error {
+func (x *seaweedFilerSubscribeMetadataServer) Send(m *SubscribeMetadataResponse) error {
return x.ServerStream.SendMsg(m)
}
@@ -1696,8 +1696,8 @@ var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
ServerStreams: true,
},
{
- StreamName: "ListenForEvents",
- Handler: _SeaweedFiler_ListenForEvents_Handler,
+ StreamName: "SubscribeMetadata",
+ Handler: _SeaweedFiler_SubscribeMetadata_Handler,
ServerStreams: true,
},
},
@@ -1709,122 +1709,122 @@ func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1903 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x58, 0x5f, 0x6f, 0xdc, 0xc6,
- 0x11, 0x37, 0xef, 0x74, 0x7f, 0x38, 0x77, 0xe7, 0x48, 0x7b, 0x92, 0x73, 0x3e, 0x4b, 0xb6, 0x42,
- 0xd7, 0xa9, 0x0b, 0x1b, 0xaa, 0xa1, 0xa6, 0x40, 0xd2, 0xb4, 0x0f, 0xb6, 0x2c, 0xa5, 0x6e, 0x6c,
- 0xc5, 0xa0, 0xec, 0x22, 0x45, 0x81, 0x12, 0x14, 0xb9, 0xba, 0xdb, 0x8a, 0x47, 0xb2, 0xbb, 0x4b,
- 0xfd, 0xc9, 0x53, 0xfb, 0x35, 0x0a, 0xf4, 0xa1, 0xdf, 0xa1, 0x8f, 0x45, 0x5f, 0x8a, 0x02, 0x05,
- 0xfa, 0x2d, 0xfa, 0x49, 0x8a, 0x9d, 0x25, 0x79, 0xcb, 0xe3, 0x49, 0x4a, 0x50, 0xe4, 0x6d, 0x77,
- 0x66, 0x76, 0x76, 0x76, 0xfe, 0xfc, 0x66, 0x48, 0xe8, 0x9d, 0xb0, 0x88, 0xf2, 0x9d, 0x94, 0x27,
- 0x32, 0x21, 0x5d, 0xdc, 0x78, 0xe9, 0xb1, 0xf3, 0x15, 0xdc, 0x7b, 0x9d, 0x24, 0xa7, 0x59, 0xfa,
- 0x92, 0x71, 0x1a, 0xc8, 0x84, 0x5f, 0x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3, 0x12, 0x8e, 0x89, 0x51, 0x26, 0xd7, 0x01,
+ 0xfa, 0xe8, 0xfb, 0x37, 0xca, 0x95, 0x77, 0xfd, 0x0e, 0x36, 0x97, 0x30, 0xcb, 0xcc, 0x8a, 0x75,
+ 0x50, 0x6a, 0x66, 0xc5, 0x5a, 0xd0, 0x53, 0x15, 0xf6, 0xec, 0x1e, 0x6c, 0x08, 0x0d, 0x15, 0xa7,
+ 0x62, 0x5f, 0x43, 0xed, 0x33, 0x40, 0x9b, 0xde, 0xf0, 0x44, 0x26, 0xe3, 0x16, 0xfe, 0xec, 0xfc,
+ 0xd1, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x37, 0x58, 0xa5, 0x1f, 0xfb, 0x14, 0x00, 0x00,
}
diff --git a/weed/pb/shared_values.go b/weed/pb/shared_values.go
index cac253ebb..acc3bb56d 100644
--- a/weed/pb/shared_values.go
+++ b/weed/pb/shared_values.go
@@ -2,4 +2,4 @@ package pb
const (
AdminShellClient = "shell"
-) \ No newline at end of file
+)
diff --git a/weed/server/filer_grpc_server_listen.go b/weed/server/filer_grpc_server_listen.go
index e2d932a99..76bf834ea 100644
--- a/weed/server/filer_grpc_server_listen.go
+++ b/weed/server/filer_grpc_server_listen.go
@@ -10,7 +10,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/util"
)
-func (fs *FilerServer) ListenForEvents(req *filer_pb.ListenForEventsRequest, stream filer_pb.SeaweedFiler_ListenForEventsServer) error {
+func (fs *FilerServer) SubscribeMetadata(req *filer_pb.SubscribeMetadataRequest, stream filer_pb.SeaweedFiler_SubscribeMetadataServer) error {
peerAddress := findClientAddress(stream.Context(), 0)
@@ -46,7 +46,7 @@ func (fs *FilerServer) ListenForEvents(req *filer_pb.ListenForEventsRequest, str
return nil
}
- message := &filer_pb.FullEventNotification{
+ message := &filer_pb.SubscribeMetadataResponse{
Directory: dirPath,
EventNotification: eventNotification,
}
diff --git a/weed/server/filer_grpc_server_rename.go b/weed/server/filer_grpc_server_rename.go
index c18587b45..71e2c7d17 100644
--- a/weed/server/filer_grpc_server_rename.go
+++ b/weed/server/filer_grpc_server_rename.go
@@ -117,7 +117,7 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, oldParent util.FullPat
events.newEntries = append(events.newEntries, newEntry)
- if moveFolderSubEntries!=nil {
+ if moveFolderSubEntries != nil {
if moveChildrenErr := moveFolderSubEntries(); moveChildrenErr != nil {
return moveChildrenErr
}
diff --git a/weed/server/volume_server_handlers_write.go b/weed/server/volume_server_handlers_write.go
index 968ece11f..227cb0b28 100644
--- a/weed/server/volume_server_handlers_write.go
+++ b/weed/server/volume_server_handlers_write.go
@@ -167,10 +167,10 @@ func setEtag(w http.ResponseWriter, etag string) {
}
}
-func getEtag(resp *http.Response) (etag string){
+func getEtag(resp *http.Response) (etag string) {
etag = resp.Header.Get("ETag")
- if strings.HasPrefix(etag, "\"") && strings.HasSuffix(etag, "\""){
- return etag[1:len(etag)-1]
+ if strings.HasPrefix(etag, "\"") && strings.HasSuffix(etag, "\"") {
+ return etag[1 : len(etag)-1]
}
return
}
diff --git a/weed/storage/backend/memory_map/memory_map_backend.go b/weed/storage/backend/memory_map/memory_map_backend.go
index 7fc2b4920..8ff03d9af 100644
--- a/weed/storage/backend/memory_map/memory_map_backend.go
+++ b/weed/storage/backend/memory_map/memory_map_backend.go
@@ -6,7 +6,7 @@ import (
)
var (
- // _ backend.BackendStorageFile = &MemoryMappedFile{} // remove this to break import cycle
+// _ backend.BackendStorageFile = &MemoryMappedFile{} // remove this to break import cycle
)
type MemoryMappedFile struct {
diff --git a/weed/util/chunk_cache/chunk_cache.go b/weed/util/chunk_cache/chunk_cache.go
index 9f2a0518f..7c4a77304 100644
--- a/weed/util/chunk_cache/chunk_cache.go
+++ b/weed/util/chunk_cache/chunk_cache.go
@@ -131,4 +131,4 @@ func (c *ChunkCache) Shutdown() {
for _, diskCache := range c.diskCaches {
diskCache.Shutdown()
}
-} \ No newline at end of file
+}
diff --git a/weed/util/chunk_cache/chunk_cache_on_disk_test.go b/weed/util/chunk_cache/chunk_cache_on_disk_test.go
index 256b10139..f93daf5a7 100644
--- a/weed/util/chunk_cache/chunk_cache_on_disk_test.go
+++ b/weed/util/chunk_cache/chunk_cache_on_disk_test.go
@@ -21,11 +21,11 @@ func TestOnDisk(t *testing.T) {
writeCount := 5
type test_data struct {
- data []byte
+ data []byte
fileId string
}
testData := make([]*test_data, writeCount)
- for i:=0;i<writeCount;i++{
+ for i := 0; i < writeCount; i++ {
buff := make([]byte, 1024*1024)
rand.Read(buff)
testData[i] = &test_data{
@@ -35,7 +35,7 @@ func TestOnDisk(t *testing.T) {
cache.SetChunk(testData[i].fileId, testData[i].data)
}
- for i:=0;i<writeCount;i++{
+ for i := 0; i < writeCount; i++ {
data := cache.GetChunk(testData[i].fileId)
if bytes.Compare(data, testData[i].data) != 0 {
t.Errorf("failed to write to and read from cache: %d", i)
@@ -46,7 +46,7 @@ func TestOnDisk(t *testing.T) {
cache = NewChunkCache(0, tmpDir, totalDiskSizeMb, segmentCount)
- for i:=0;i<writeCount;i++{
+ for i := 0; i < writeCount; i++ {
data := cache.GetChunk(testData[i].fileId)
if bytes.Compare(data, testData[i].data) != 0 {
t.Errorf("failed to write to and read from cache: %d", i)
diff --git a/weed/util/log_buffer/log_buffer.go b/weed/util/log_buffer/log_buffer.go
index 3b3396128..04fabdf8c 100644
--- a/weed/util/log_buffer/log_buffer.go
+++ b/weed/util/log_buffer/log_buffer.go
@@ -163,7 +163,7 @@ func (m *LogBuffer) ReadFromBuffer(lastReadTime time.Time) (ts time.Time, buffer
/*
for i, pos := range m.idx {
logEntry, ts := readTs(m.buf, pos)
- event := &filer_pb.FullEventNotification{}
+ event := &filer_pb.SubscribeMetadataResponse{}
proto.Unmarshal(logEntry.Data, event)
entry := event.EventNotification.OldEntry
if entry == nil {