Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40e39ee

Browse files
xs-liyixinglu
andauthored
code-commenting problem (vesoft-inc#2374)
* correct code comments regin => region * correct code commit whick => which * correct code commit minues => minutes * correct code comments cahce=>cache opeartions=>operations * correct code comments refesh=>refresh shcem=>schema Co-authored-by: Yee <[email protected]>
1 parent b4ace3f commit 40e39ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/meta/client/MetaClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void MetaClient::heartBeatThreadFunc() {
111111
return;
112112
}
113113

114-
// if MetaServer has some changes, refesh the localCache_
114+
// if MetaServer has some changes, refresh the localCache_
115115
loadData();
116116
loadCfg();
117117
}
@@ -266,7 +266,7 @@ static EdgeSchemas __buildEdgeSchemas(std::vector<cpp2::EdgeItem> edgeItemVec) {
266266
schema->addField(colIt.name, std::move(colIt.type));
267267
schema->addDefaultValue(colIt.name, std::move(colIt.default_value));
268268
}
269-
// handle shcem property
269+
// handle schema property
270270
schema->setProp(edgeIt.schema.get_schema_prop());
271271
edgeSchemas.emplace(std::make_pair(edgeIt.edge_type, edgeIt.version), schema);
272272
}

src/meta/client/MetaClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct SpaceDesc {
137137
};
138138

139139

140-
// config cahce, get config via module and name
140+
// config cache, get config via module and name
141141
using MetaConfigMap = std::unordered_map<std::pair<cpp2::ConfigModule, std::string>, ConfigItem>;
142142

143143
class MetaChangedListener {
@@ -402,7 +402,7 @@ class MetaClient {
402402

403403
folly::Future<StatusOr<std::vector<cpp2::Snapshot>>> listSnapshots();
404404

405-
// Opeartions for cache.
405+
// Operations for cache.
406406
StatusOr<GraphSpaceID>
407407
getSpaceIdByNameFromCache(const std::string& name);
408408

0 commit comments

Comments
 (0)