SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
adding create time
Chris Lu6de84c64c67e
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex ba9f84654a..6406dff954 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -102,6 +102,7 @@ func (dir *Dir) Create(ctx context.Context, req *fuse.CreateRequest,IsDirectory: req.Mode&os.ModeDir > 0,Attributes: &filer_pb.FuseAttributes{Mtime: time.Now().Unix(),+ Crtime: time.Now().Unix(),FileMode: uint32(req.Mode),Uid: req.Uid,Gid: req.Gid,@@ -146,6 +147,7 @@ func (dir *Dir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, errIsDirectory: true,Attributes: &filer_pb.FuseAttributes{Mtime: time.Now().Unix(),+ Crtime: time.Now().Unix(),FileMode: uint32(req.Mode),Uid: req.Uid,Gid: req.Gid,diff --git a/weed/pb/filer.proto b/weed/pb/filer.protoindex 455de81d78..98c39d4b28 100644--- a/weed/pb/filer.proto+++ b/weed/pb/filer.proto@@ -71,6 +71,7 @@ message FuseAttributes {uint32 file_mode = 3;uint32 uid = 4;uint32 gid = 5;+ int64 crtime = 6;}message GetEntryAttributesRequest {diff --git a/weed/pb/filer_pb/filer.pb.go b/weed/pb/filer_pb/filer.pb.goindex fb0388307a..0473e77c0b 100644--- a/weed/pb/filer_pb/filer.pb.go+++ b/weed/pb/filer_pb/filer.pb.go@@ -213,6 +213,7 @@ type FuseAttributes struct {FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode" json:"file_mode,omitempty"`Uid uint32 `protobuf:"varint,4,opt,name=uid" json:"uid,omitempty"`Gid uint32 `protobuf:"varint,5,opt,name=gid" json:"gid,omitempty"`+ Crtime int64 `protobuf:"varint,6,opt,name=crtime" json:"crtime,omitempty"`}func (m *FuseAttributes) Reset() { *m = FuseAttributes{} }@@ -255,6 +256,13 @@ func (m *FuseAttributes) GetGid() uint32 {return 0}+func (m *FuseAttributes) GetCrtime() int64 {+ if m != nil {+ return m.Crtime+ }+ return 0+}+type GetEntryAttributesRequest struct {Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`ParentDir string `protobuf:"bytes,2,opt,name=parent_dir,json=parentDir" json:"parent_dir,omitempty"`@@ -923,61 +931,62 @@ var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }var fileDescriptor0 = []byte{- // 890 bytes of a gzipped FileDescriptorProto- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x56, 0x6d, 0x6f, 0xdc, 0x44,- 0x10, 0x8e, 0xcf, 0x71, 0x12, 0xcf, 0x5d, 0x78, 0xd9, 0x4b, 0x8b, 0xb9, 0x26, 0x55, 0x58, 0x28,- 0x6a, 0x85, 0x14, 0x45, 0x81, 0x0f, 0x15, 0x08, 0x89, 0xaa, 0x29, 0x55, 0xa5, 0x54, 0x95, 0x5c,- 0x82, 0xc4, 0xa7, 0x93, 0xcf, 0x9e, 0x3b, 0x56, 0xf1, 0xd9, 0xc6, 0xbb, 0x0e, 0x0a, 0x5f, 0xe1,- 0xaf, 0xf0, 0x0f, 0xf8, 0x07, 0xfc, 0x31, 0xb4, 0x2f, 0xb6, 0xd7, 0xb1, 0xaf, 0x2f, 0x1f, 0xf8,- 0xb6, 0x3b, 0x3b, 0xf3, 0xcc, 0x33, 0xbb, 0x33, 0x8f, 0x0d, 0xe3, 0x25, 0x4b, 0xb1, 0x3c, 0x29,- 0xca, 0x5c, 0xe4, 0x64, 0x4f, 0x6d, 0xe6, 0xc5, 0x82, 0xbe, 0x82, 0x7b, 0x17, 0x79, 0x7e, 0x55,- 0x15, 0xe7, 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2f, 0x5f, 0x36, 0xda, 0x90,+ 0xe2, 0x6c, 0x91, 0x57, 0x30, 0xb5, 0x45, 0x80, 0x58, 0x09, 0x03, 0x5a, 0x34, 0xbf, 0xbf, 0xc9,+ 0x6d, 0x03, 0xda, 0x33, 0x6f, 0x03, 0x0e, 0xbc, 0x7a, 0x1b, 0x70, 0xe8, 0xa9, 0xd0, 0xad, 0xcb,+ 0xb1, 0xfa, 0x3d, 0xfd, 0xfa, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x83, 0x92, 0xde, 0x64, 0xad,+ 0x0a, 0x00, 0x00,}diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.goindex 050785be22..0d1d7ae228 100644--- a/weed/server/filer_grpc_server.go+++ b/weed/server/filer_grpc_server.go@@ -48,6 +48,7 @@ func (fs *FilerServer) ListEntries(ctx context.Context, req *filer_pb.ListEntrieAttributes: &filer_pb.FuseAttributes{FileSize: entry.Size(),Mtime: entry.Mtime.Unix(),+ Crtime: entry.Crtime.Unix(),Gid: entry.Gid,Uid: entry.Uid,FileMode: uint32(entry.Mode),@@ -78,6 +79,7 @@ func (fs *FilerServer) GetEntryAttributes(ctx context.Context, req *filer_pb.Getattributes.Uid = entry.Uidattributes.Gid = entry.Gidattributes.Mtime = entry.Mtime.Unix()+ attributes.Crtime = entry.Crtime.Unix()glog.V(3).Infof("GetEntryAttributes %v size %d chunks %d: %+v", fullpath, attributes.FileSize, len(entry.Chunks), attributes)