| 796 | } |
| 797 | |
| 798 | void TabletNodeSysInfo::SetPersistentCacheSize(uint64_t size) { |
| 799 | MutexLock lock(&mutex_); |
| 800 | if (!info_.unique()) { |
| 801 | SwitchInfo(); |
| 802 | } |
| 803 | assert(info_.unique()); |
| 804 | info_->set_persistent_cache_size(size); |
| 805 | } |
| 806 | |
| 807 | void TabletNodeSysInfo::SetStatus(StatusCode status) { |
| 808 | MutexLock lock(&mutex_); |