| 1570 | } |
| 1571 | |
| 1572 | void TableImpl::ScanMetaTable(const std::string& key_start, const std::string& key_end) { |
| 1573 | MutexLock lock(&meta_mutex_); |
| 1574 | meta_updating_count_++; |
| 1575 | ScanMetaTableAsync(key_start, key_end, key_end, false); |
| 1576 | while (meta_updating_count_ > 0) { |
| 1577 | meta_cond_.Wait(); |
| 1578 | } |
| 1579 | } |
| 1580 | |
| 1581 | void TableImpl::ScanMetaTableAsyncInLock(const std::string& key_start, const std::string& key_end, |
| 1582 | const std::string& expand_key_end, bool zk_access) { |