File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace cachegroup {
35
35
36
36
using dingofs::base::time::TimeNow;
37
37
using dingofs::cache::utils::LocalFileSystem;
38
- using dingofs::pb::mds::cachegroup::CacheGroupNodeMeta ;
38
+ using dingofs::pb::mds::cachegroup::CacheGroupNodeMetadata ;
39
39
using dingofs::pb::mds::cachegroup::CacheGroupOk;
40
40
41
41
CacheGroupNodeMemberImpl::CacheGroupNodeMemberImpl (
@@ -73,7 +73,7 @@ Status CacheGroupNodeMemberImpl::LoadMemberId(uint64_t* member_id) {
73
73
LocalFileSystem fs;
74
74
uint64_t length;
75
75
std::shared_ptr<char > buffer;
76
- CacheGroupNodeMeta meta;
76
+ CacheGroupNodeMetadata meta;
77
77
auto filepath = option_.metadata_filepath ();
78
78
79
79
auto status = fs.ReadFile (filepath, buffer, &length);
@@ -100,7 +100,7 @@ Status CacheGroupNodeMemberImpl::LoadMemberId(uint64_t* member_id) {
100
100
101
101
Status CacheGroupNodeMemberImpl::SaveMemberId (uint64_t member_id) {
102
102
std::string buffer;
103
- CacheGroupNodeMeta meta;
103
+ CacheGroupNodeMetadata meta;
104
104
meta.set_member_id (member_id);
105
105
meta.set_birth_time (TimeNow ().seconds );
106
106
if (!meta.SerializeToString (&buffer)) {
You can’t perform that action at this time.
0 commit comments