| 787 | } |
| 788 | |
| 789 | void TabletNodeSysInfo::SetServerAddr(const std::string& addr) { |
| 790 | MutexLock lock(&mutex_); |
| 791 | if (!info_.unique()) { |
| 792 | SwitchInfo(); |
| 793 | } |
| 794 | assert(info_.unique()); |
| 795 | info_->set_addr(addr); |
| 796 | } |
| 797 | |
| 798 | void TabletNodeSysInfo::SetPersistentCacheSize(uint64_t size) { |
| 799 | MutexLock lock(&mutex_); |