File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ void MetaClient::heartBeatThreadFunc() {
111
111
return ;
112
112
}
113
113
114
- // if MetaServer has some changes, refesh the localCache_
114
+ // if MetaServer has some changes, refresh the localCache_
115
115
loadData ();
116
116
loadCfg ();
117
117
}
@@ -266,7 +266,7 @@ static EdgeSchemas __buildEdgeSchemas(std::vector<cpp2::EdgeItem> edgeItemVec) {
266
266
schema->addField (colIt.name , std::move (colIt.type ));
267
267
schema->addDefaultValue (colIt.name , std::move (colIt.default_value ));
268
268
}
269
- // handle shcem property
269
+ // handle schema property
270
270
schema->setProp (edgeIt.schema .get_schema_prop ());
271
271
edgeSchemas.emplace (std::make_pair (edgeIt.edge_type , edgeIt.version ), schema);
272
272
}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ struct SpaceDesc {
137
137
};
138
138
139
139
140
- // config cahce , get config via module and name
140
+ // config cache , get config via module and name
141
141
using MetaConfigMap = std::unordered_map<std::pair<cpp2::ConfigModule, std::string>, ConfigItem>;
142
142
143
143
class MetaChangedListener {
@@ -402,7 +402,7 @@ class MetaClient {
402
402
403
403
folly::Future<StatusOr<std::vector<cpp2::Snapshot>>> listSnapshots ();
404
404
405
- // Opeartions for cache.
405
+ // Operations for cache.
406
406
StatusOr<GraphSpaceID>
407
407
getSpaceIdByNameFromCache (const std::string& name);
408
408
You can’t perform that action at this time.
0 commit comments