This commit is contained in:
Nikita Vasilev 2020-06-21 20:09:58 +03:00
parent 68d3ec5a4c
commit f8c818ccdc
2 changed files with 6 additions and 4 deletions

View File

@ -19,6 +19,7 @@
#include <IO/WriteBufferAIO.h> #include <IO/WriteBufferAIO.h>
#include <list> #include <list>
#include <pcg_random.hpp> #include <pcg_random.hpp>
#include <Poco/Logger.h
#include <shared_mutex> #include <shared_mutex>
#include <variant> #include <variant>
#include <vector> #include <vector>
@ -279,7 +280,7 @@ private:
std::list<SSDCachePartitionPtr> partitions; std::list<SSDCachePartitionPtr> partitions;
std::list<SSDCachePartitionPtr> partition_delete_queue; std::list<SSDCachePartitionPtr> partition_delete_queue;
Logger * const log; Poco::Logger * const log;
mutable pcg64 rnd_engine; mutable pcg64 rnd_engine;
@ -460,7 +461,7 @@ private:
std::map<std::string, size_t> attribute_index_by_name; std::map<std::string, size_t> attribute_index_by_name;
std::vector<AttributeValueVariant> null_values; std::vector<AttributeValueVariant> null_values;
mutable SSDCacheStorage storage; mutable SSDCacheStorage storage;
Logger * const log; Poco::Logger * const log;
mutable size_t bytes_allocated = 0; mutable size_t bytes_allocated = 0;
}; };

View File

@ -22,6 +22,7 @@
#include <IO/WriteBufferAIO.h> #include <IO/WriteBufferAIO.h>
#include <list> #include <list>
#include <pcg_random.hpp> #include <pcg_random.hpp>
#include <Poco/Logger.h
#include <shared_mutex> #include <shared_mutex>
#include <variant> #include <variant>
#include <vector> #include <vector>
@ -501,7 +502,7 @@ private:
std::list<SSDComplexKeyCachePartitionPtr> partitions; std::list<SSDComplexKeyCachePartitionPtr> partitions;
std::list<SSDComplexKeyCachePartitionPtr> partition_delete_queue; std::list<SSDComplexKeyCachePartitionPtr> partition_delete_queue;
Logger * const log; Poco::Logger * const log;
mutable pcg64 rnd_engine; mutable pcg64 rnd_engine;
@ -695,7 +696,7 @@ private:
std::map<std::string, size_t> attribute_index_by_name; std::map<std::string, size_t> attribute_index_by_name;
std::vector<AttributeValueVariant> null_values; std::vector<AttributeValueVariant> null_values;
mutable SSDComplexKeyCacheStorage storage; mutable SSDComplexKeyCacheStorage storage;
Logger * const log; Poco::Logger * const log;
mutable size_t bytes_allocated = 0; mutable size_t bytes_allocated = 0;
}; };