revert(logservice): hidden sys tenant will actually occupy the log disk space.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user