mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
fix
This commit is contained in:
parent
3fb0eab116
commit
7358410a84
@ -716,6 +716,8 @@ void SSDCachePartition::clearOldestBlocks()
|
||||
"aio_nbytes=" + std::to_string(request.aio_nbytes) +
|
||||
", returned=" + std::to_string(event.res) + ".", ErrorCodes::AIO_READ_ERROR);
|
||||
}
|
||||
|
||||
__msan_unpoison(read_buffer_memory.data(), read_buffer_memory.size());
|
||||
}
|
||||
|
||||
std::vector<UInt64> keys;
|
||||
|
@ -747,6 +747,8 @@ void SSDComplexKeyCachePartition::clearOldestBlocks()
|
||||
"aio_nbytes=" + std::to_string(request.aio_nbytes) +
|
||||
", returned=" + std::to_string(event.res) + ".", ErrorCodes::AIO_READ_ERROR);
|
||||
}
|
||||
|
||||
__msan_unpoison(read_buffer_memory.data(), read_buffer_memory.size());
|
||||
}
|
||||
|
||||
TemporalComplexKeysPool tmp_keys_pool;
|
||||
@ -891,11 +893,6 @@ size_t SSDComplexKeyCachePartition::getBytesAllocated() const
|
||||
(keys_buffer_pool ? keys_buffer_pool->size() : 0) + (memory ? memory->size() : 0);
|
||||
}
|
||||
|
||||
PaddedPODArray<KeyRef> SSDComplexKeyCachePartition::getCachedIds(const std::chrono::system_clock::time_point /* now */) const
|
||||
{
|
||||
throw DB::Exception("Method not supported.", ErrorCodes::NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
void SSDComplexKeyCachePartition::remove()
|
||||
{
|
||||
std::unique_lock lock(rw_lock);
|
||||
@ -1267,11 +1264,6 @@ void SSDComplexKeyCacheStorage::update(
|
||||
ProfileEvents::increment(ProfileEvents::DictCacheRequests);
|
||||
}
|
||||
|
||||
PaddedPODArray<KeyRef> SSDComplexKeyCacheStorage::getCachedIds() const
|
||||
{
|
||||
throw DB::Exception("Method not supported.", ErrorCodes::NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
double SSDComplexKeyCacheStorage::getLoadFactor() const
|
||||
{
|
||||
double result = 0;
|
||||
|
@ -360,8 +360,6 @@ public:
|
||||
|
||||
size_t getId() const;
|
||||
|
||||
PaddedPODArray<KeyRef> getCachedIds(const std::chrono::system_clock::time_point now) const;
|
||||
|
||||
double getLoadFactor() const;
|
||||
|
||||
size_t getElementCount() const;
|
||||
@ -461,8 +459,6 @@ public:
|
||||
PresentIdHandler && on_updated, AbsentIdHandler && on_key_not_found,
|
||||
const DictionaryLifetime lifetime);
|
||||
|
||||
PaddedPODArray<KeyRef> getCachedIds() const;
|
||||
|
||||
std::exception_ptr getLastException() const { return last_update_exception; }
|
||||
|
||||
const std::string & getPath() const { return path; }
|
||||
|
Loading…
Reference in New Issue
Block a user