revert(logservice): hidden sys tenant will actually occupy the log disk space.

This commit is contained in:
HaHaJeff
2023-05-07 03:42:24 +00:00
committed by ob-robot
parent 70fa0179cd
commit 0f30c4a321
6 changed files with 100 additions and 79 deletions

View File

@ -130,7 +130,6 @@ public:
if (OB_SUCC(ret)) {
map_[key] = size;
} else {
//this->log_block_mgr_.abort_create_tenant(size);
}
}
return ret;
@ -141,7 +140,7 @@ public:
if (map_.end() == map_.find(key)) {
ret = OB_ENTRY_NOT_EXIST;
} else {
int64 size = map_[key];
int64_t size = map_[key];
map_.erase(key);
this->log_block_mgr_.remove_tenant(size);
}