This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +35
-16
lines changed Expand file tree Collapse file tree 3 files changed +35
-16
lines changed Original file line number Diff line number Diff line change 1- /* -------------------------------------------------------------------------
2- *
3- * logger.h
4- * file description
5- *
6- * Copyright(c) 2015, CMU
7- *
8- * /peloton/src/backend/logging/logging_util.cpp
9- *
10- *-------------------------------------------------------------------------
11- * /
1+ // === ----------------------------------------------------------------------===//
2+ //
3+ // Peloton
4+ //
5+ // log_til.cpp
6+ //
7+ // Identification: src/logging/log_til.cpp
8+ //
9+ // Copyright (c) 2015-18, Carnegie Mellon University Database Group
10+ //
11+ // ===----------------------------------------------------------------------===/ /
1212
1313#include < sys/stat.h>
1414#include < dirent.h>
Original file line number Diff line number Diff line change 1+ // ===----------------------------------------------------------------------===//
2+ //
3+ // Peloton
4+ //
5+ // wal_recovery.cpp
6+ //
7+ // Identification: src/logging/wal_recovery.cpp
8+ //
9+ // Copyright (c) 2015-18, Carnegie Mellon University Database Group
10+ //
11+ // ===----------------------------------------------------------------------===//
112
2- #include < include/catalog/catalog.h>
313#include " index/index_factory.h"
414
15+ #include " catalog/catalog.h"
516#include " catalog/index_catalog.h"
617#include " catalog/column_catalog.h"
718#include " catalog/table_catalog.h"
Original file line number Diff line number Diff line change 1+ // ===----------------------------------------------------------------------===//
2+ //
3+ // Peloton
4+ //
5+ // logger_queue_pool.cpp
6+ //
7+ // Identification: src/threadpool/logger_queue_pool.cpp
8+ //
9+ // Copyright (c) 2015-18, Carnegie Mellon University Database Group
10+ //
11+ // ===----------------------------------------------------------------------===//
12+
113#include " threadpool/logger_queue_pool.h"
214#include " common/container/lock_free_queue.h"
315#include " logging/wal_logger.h"
416#include < exception>
517
6-
718namespace peloton {
819namespace threadpool {
920
10-
11-
1221void LoggerFunc (std::atomic_bool *is_running, LoggerQueue *logger_queue) {
13- LOG_INFO (" aaron: LoggerFunc" );
1422 constexpr auto kMinPauseTime = std::chrono::microseconds (1 );
1523 constexpr auto kMaxPauseTime = std::chrono::microseconds (1000 );
1624 auto pause_time = kMinPauseTime ;
You can’t perform that action at this time.
0 commit comments