Skip to content

Commit

Permalink
unuseful -> useless
Browse files Browse the repository at this point in the history
  • Loading branch information
Nivras committed Dec 1, 2021
1 parent b5f59c3 commit 61d9475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/meta/MetaClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ class MetaClient {
std::shared_ptr<folly::IOThreadPoolExecutor> ioThreadPool_;
std::shared_ptr<thrift::ThriftClientManager<cpp2::MetaServiceAsyncClient>> clientsMan_;

// heartbeat is a single thread, maybe leaderIdsLock_ and diskPartsLock_ is unuseful?
// heartbeat is a single thread, maybe leaderIdsLock_ and diskPartsLock_ is useless?
// leaderIdsLock_ is used to protect leaderIds_
std::unordered_map<GraphSpaceID, std::vector<cpp2::LeaderInfo>> leaderIds_;
folly::RWSpinLock leaderIdsLock_;
Expand Down

0 comments on commit 61d9475

Please sign in to comment.