| 240 | } |
| 241 | |
| 242 | bool TabletNode::FinishLoad(TabletPtr tablet) { |
| 243 | MutexLock lock(&mutex_); |
| 244 | // assert(onload_count_ > 0); |
| 245 | if (onload_count_ > 0) { |
| 246 | --onload_count_; |
| 247 | } |
| 248 | return true; |
| 249 | } |
| 250 | |
| 251 | bool TabletNode::TrySplit(TabletPtr tablet, const std::string& split_key) { |
| 252 | MutexLock lock(&mutex_); |
no outgoing calls
no test coverage detected