mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Style fixes, removed redundant includes
This commit is contained in:
parent
c637d99e07
commit
6e6a195c13
@ -1,10 +1,7 @@
|
||||
#include "IVolume.h"
|
||||
|
||||
#include <Common/StringUtils/StringUtils.h>
|
||||
#include <Common/escapeForFileName.h>
|
||||
#include <Common/formatReadable.h>
|
||||
#include <Common/quoteString.h>
|
||||
#include <common/logger_useful.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -19,7 +19,8 @@ namespace DB
|
||||
* VolumeJBOD reserves space on the next disk after the last used, other future implementations
|
||||
* will reserve, for example, equal spaces on all disks.
|
||||
*/
|
||||
class IVolume : public Space {
|
||||
class IVolume : public Space
|
||||
{
|
||||
public:
|
||||
IVolume(String name_, Disks disks_): disks(std::move(disks_)), name(std::move(name_))
|
||||
{
|
||||
|
@ -10,7 +10,8 @@ namespace DB
|
||||
* When MergeTree engine wants to write part — it requests VolumeJBOD to reserve space on the next available
|
||||
* disk and then writes new part to that disk.
|
||||
*/
|
||||
class VolumeJBOD : public IVolume {
|
||||
class VolumeJBOD : public IVolume
|
||||
{
|
||||
public:
|
||||
VolumeJBOD(String name_, Disks disks_, UInt64 max_data_part_size_)
|
||||
: IVolume(name_, disks_), max_data_part_size(max_data_part_size_)
|
||||
|
Loading…
Reference in New Issue
Block a user