This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree 3 files changed +35
-16
lines changed
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
+ // ===----------------------------------------------------------------------===/ /
12
12
13
13
#include < sys/stat.h>
14
14
#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
+ // ===----------------------------------------------------------------------===//
1
12
2
- #include < include/catalog/catalog.h>
3
13
#include " index/index_factory.h"
4
14
15
+ #include " catalog/catalog.h"
5
16
#include " catalog/index_catalog.h"
6
17
#include " catalog/column_catalog.h"
7
18
#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
+
1
13
#include " threadpool/logger_queue_pool.h"
2
14
#include " common/container/lock_free_queue.h"
3
15
#include " logging/wal_logger.h"
4
16
#include < exception>
5
17
6
-
7
18
namespace peloton {
8
19
namespace threadpool {
9
20
10
-
11
-
12
21
void LoggerFunc (std::atomic_bool *is_running, LoggerQueue *logger_queue) {
13
- LOG_INFO (" aaron: LoggerFunc" );
14
22
constexpr auto kMinPauseTime = std::chrono::microseconds (1 );
15
23
constexpr auto kMaxPauseTime = std::chrono::microseconds (1000 );
16
24
auto pause_time = kMinPauseTime ;
You can’t perform that action at this time.
0 commit comments