66#pragma once
77
88#include < stdint.h>
9+
910#include < climits>
1011#include < vector>
11- # include < vector >
12- #include " rocksdb/db .h"
12+
13+ #include " rocksdb/options .h"
1314
1415namespace rocksdb {
1516
@@ -71,7 +72,7 @@ class PluggableCompactionService {
7172 // Run the specified compaction. The results of the compaction are
7273 // returns in PluggableCompactionResult.
7374 virtual Status Run (const PluggableCompactionParam& job,
74- PluggableCompactionResult* result) = 0;
75+ PluggableCompactionResult* result) = 0;
7576
7677 // Install files that were generated by a pluggable compaction request into
7778 // the local database.
@@ -91,18 +92,18 @@ struct FilesInOneLevel {
9192
9293// The definition of a single file created by a pluggable
9394// compaction request.
94- struct OutputFile {
95- std::string pathname;
96- TableProperties table_properties;
97- uint64_t file_size;
98- uint64_t num_entries;
99- uint64_t num_deletions;
100- uint64_t raw_key_size;
101- uint64_t raw_value_size;
102- std::string smallest_internal_key;
103- std::string largest_internal_key;
104- SequenceNumber smallest_seqno;
105- SequenceNumber largest_seqno;
95+ struct OutputFile {
96+ std::string pathname;
97+ TableProperties table_properties;
98+ uint64_t file_size;
99+ uint64_t num_entries;
100+ uint64_t num_deletions;
101+ uint64_t raw_key_size;
102+ uint64_t raw_value_size;
103+ std::string smallest_internal_key;
104+ std::string largest_internal_key;
105+ SequenceNumber smallest_seqno;
106+ SequenceNumber largest_seqno;
106107};
107108
108109} // namespace rocksdb
0 commit comments