| 167 | |
| 168 | template <bool cache_only> |
| 169 | void CachedStatsProxyImpl<cache_only>::put(const StatsTableIdentifier & table_id, StatsData && data) |
| 170 | { |
| 171 | // each server has its own cache |
| 172 | // to clear the cache, we need to send a request to each server |
| 173 | // so we don't clear the cache here |
| 174 | if (cache_only) |
| 175 | { |
| 176 | return; |
| 177 | } |
| 178 | |
| 179 | catalog->writeStatsData(table_id, data); |
| 180 | } |
| 181 | |
| 182 | template <bool cache_only> |
| 183 | void CachedStatsProxyImpl<cache_only>::drop(const StatsTableIdentifier & table_id) |
no test coverage detected