Skip to content

Commit

Permalink
Cleanup header
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <tshent@qq.com>
  • Loading branch information
JaySon-Huang committed Jan 25, 2022
1 parent da05bd1 commit 11666cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions dbms/src/Storages/Page/stress/PSStressEnv.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#pragma once

#include <Storages/Page/PageDefines.h>
#include <Storages/Page/V2/PageStorage.h>
#include <Storages/Page/V3/PageStorageImpl.h>
#include <Storages/Page/PageStorage.h>
#include <fmt/format.h>

#include <atomic>

using namespace DB::PS::V2;
namespace Poco
{
class Logger;
Expand Down
2 changes: 2 additions & 0 deletions dbms/src/Storages/Page/stress/PSWorkload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <Encryption/MockKeyManager.h>
#include <PSWorkload.h>
#include <Poco/Logger.h>
#include <Storages/Page/V2/PageStorage.h>
#include <Storages/Page/V3/PageStorageImpl.h>
#include <TestUtils/MockDiskDelegator.h>

void StressWorkload::onDumpResult()
Expand Down
3 changes: 0 additions & 3 deletions dbms/src/Storages/Page/stress/PSWorkload.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
#include <Poco/ThreadPool.h>
#include <Storages/Page/PageDefines.h>
#include <Storages/Page/PageStorage.h>
#include <Storages/Page/V2/PageStorage.h>
#include <Storages/Page/V3/PageStorageImpl.h>
#include <fmt/format.h>

#define NORMAL_WORKLOAD 0
using namespace DB::PS::V2;
template <typename Child>
class StressWorkloadFunc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class HighValidBigFileGCWorkload

// Generate normal data in the same Pagefile
{
PageStorage::Config config;
DB::PageStorage::Config config;
config.file_max_size = DB::PAGE_FILE_MAX_SIZE;
config.file_roll_size = DB::PAGE_FILE_ROLL_SIZE;
initPageStorage(config, name());
Expand Down

0 comments on commit 11666cb

Please sign in to comment.