diff --git a/src/clients/meta/MetaClient.h b/src/clients/meta/MetaClient.h index d0f087dedf0..922cf4405fc 100644 --- a/src/clients/meta/MetaClient.h +++ b/src/clients/meta/MetaClient.h @@ -732,7 +732,7 @@ class MetaClient { std::shared_ptr ioThreadPool_; std::shared_ptr> 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> leaderIds_; folly::RWSpinLock leaderIdsLock_;