Skip to content

Commit

Permalink
fixed log blowout error for compact index data (vesoft-inc#2433)
Browse files Browse the repository at this point in the history
  • Loading branch information
bright-starry-sky authored Jan 7, 2021
1 parent 46f4a5f commit 385400c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meta/client/MetaClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1634,12 +1634,12 @@ MetaClient::getTagIndexFromCache(GraphSpaceID spaceId, IndexID indexID) {
const ThreadLocalInfo& threadLocalInfo = getThreadLocalInfo();
auto spaceIt = threadLocalInfo.localCache_.find(spaceId);
if (spaceIt == threadLocalInfo.localCache_.end()) {
LOG(ERROR) << "Space " << spaceId << " not found!";
VLOG(3) << "Space " << spaceId << " not found!";
return Status::SpaceNotFound();
} else {
auto iter = spaceIt->second->tagIndexes_.find(indexID);
if (iter == spaceIt->second->tagIndexes_.end()) {
LOG(ERROR) << "Space " << spaceId << ", Tag Index " << indexID << " not found!";
VLOG(3) << "Space " << spaceId << ", Tag Index " << indexID << " not found!";
return Status::IndexNotFound();
} else {
return iter->second;
Expand Down

0 comments on commit 385400c

Please sign in to comment.