mirror of https://github.com/facebook/rocksdb.git
Move blob_log_{format,reader,writer}.{cc,h} to db/blob/ (#6960)
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/6960 Test Plan: `make check` Reviewed By: zhichao-cao Differential Revision: D21958416 Pulled By: ltamasi fbshipit-source-id: 97cf05027b7363014b07836e7f158c23827bd661
This commit is contained in:
parent
edf74d1cb1
commit
5abda3bb8b
|
@ -539,6 +539,9 @@ set(SOURCES
|
||||||
db/blob/blob_file_addition.cc
|
db/blob/blob_file_addition.cc
|
||||||
db/blob/blob_file_garbage.cc
|
db/blob/blob_file_garbage.cc
|
||||||
db/blob/blob_file_meta.cc
|
db/blob/blob_file_meta.cc
|
||||||
|
db/blob/blob_log_format.cc
|
||||||
|
db/blob/blob_log_reader.cc
|
||||||
|
db/blob/blob_log_writer.cc
|
||||||
db/builder.cc
|
db/builder.cc
|
||||||
db/c.cc
|
db/c.cc
|
||||||
db/column_family.cc
|
db/column_family.cc
|
||||||
|
@ -730,9 +733,6 @@ set(SOURCES
|
||||||
utilities/blob_db/blob_db_impl_filesnapshot.cc
|
utilities/blob_db/blob_db_impl_filesnapshot.cc
|
||||||
utilities/blob_db/blob_dump_tool.cc
|
utilities/blob_db/blob_dump_tool.cc
|
||||||
utilities/blob_db/blob_file.cc
|
utilities/blob_db/blob_file.cc
|
||||||
utilities/blob_db/blob_log_reader.cc
|
|
||||||
utilities/blob_db/blob_log_writer.cc
|
|
||||||
utilities/blob_db/blob_log_format.cc
|
|
||||||
utilities/cassandra/cassandra_compaction_filter.cc
|
utilities/cassandra/cassandra_compaction_filter.cc
|
||||||
utilities/cassandra/format.cc
|
utilities/cassandra/format.cc
|
||||||
utilities/cassandra/merge_operator.cc
|
utilities/cassandra/merge_operator.cc
|
||||||
|
|
6
TARGETS
6
TARGETS
|
@ -124,6 +124,9 @@ cpp_library(
|
||||||
"db/blob/blob_file_addition.cc",
|
"db/blob/blob_file_addition.cc",
|
||||||
"db/blob/blob_file_garbage.cc",
|
"db/blob/blob_file_garbage.cc",
|
||||||
"db/blob/blob_file_meta.cc",
|
"db/blob/blob_file_meta.cc",
|
||||||
|
"db/blob/blob_log_format.cc",
|
||||||
|
"db/blob/blob_log_reader.cc",
|
||||||
|
"db/blob/blob_log_writer.cc",
|
||||||
"db/builder.cc",
|
"db/builder.cc",
|
||||||
"db/c.cc",
|
"db/c.cc",
|
||||||
"db/column_family.cc",
|
"db/column_family.cc",
|
||||||
|
@ -318,9 +321,6 @@ cpp_library(
|
||||||
"utilities/blob_db/blob_db_impl_filesnapshot.cc",
|
"utilities/blob_db/blob_db_impl_filesnapshot.cc",
|
||||||
"utilities/blob_db/blob_dump_tool.cc",
|
"utilities/blob_db/blob_dump_tool.cc",
|
||||||
"utilities/blob_db/blob_file.cc",
|
"utilities/blob_db/blob_file.cc",
|
||||||
"utilities/blob_db/blob_log_format.cc",
|
|
||||||
"utilities/blob_db/blob_log_reader.cc",
|
|
||||||
"utilities/blob_db/blob_log_writer.cc",
|
|
||||||
"utilities/cassandra/cassandra_compaction_filter.cc",
|
"utilities/cassandra/cassandra_compaction_filter.cc",
|
||||||
"utilities/cassandra/format.cc",
|
"utilities/cassandra/format.cc",
|
||||||
"utilities/cassandra/merge_operator.cc",
|
"utilities/cassandra/merge_operator.cc",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
#ifndef ROCKSDB_LITE
|
#ifndef ROCKSDB_LITE
|
||||||
|
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
#include "db/blob/blob_log_format.h"
|
||||||
|
|
||||||
#include "util/coding.h"
|
#include "util/coding.h"
|
||||||
#include "util/crc32c.h"
|
#include "util/crc32c.h"
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
#ifndef ROCKSDB_LITE
|
#ifndef ROCKSDB_LITE
|
||||||
|
|
||||||
#include "utilities/blob_db/blob_log_reader.h"
|
#include "db/blob/blob_log_reader.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
#include "file/random_access_file_reader.h"
|
#include "file/random_access_file_reader.h"
|
||||||
#include "rocksdb/env.h"
|
#include "rocksdb/env.h"
|
||||||
#include "rocksdb/slice.h"
|
#include "rocksdb/slice.h"
|
||||||
#include "rocksdb/statistics.h"
|
#include "rocksdb/statistics.h"
|
||||||
#include "rocksdb/status.h"
|
#include "rocksdb/status.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
// (found in the LICENSE.Apache file in the root directory).
|
// (found in the LICENSE.Apache file in the root directory).
|
||||||
#ifndef ROCKSDB_LITE
|
#ifndef ROCKSDB_LITE
|
||||||
|
|
||||||
#include "utilities/blob_db/blob_log_writer.h"
|
#include "db/blob/blob_log_writer.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
#include "file/writable_file_writer.h"
|
#include "file/writable_file_writer.h"
|
||||||
#include "monitoring/statistics.h"
|
#include "monitoring/statistics.h"
|
||||||
#include "rocksdb/env.h"
|
#include "rocksdb/env.h"
|
||||||
#include "util/coding.h"
|
#include "util/coding.h"
|
||||||
#include "util/stop_watch.h"
|
#include "util/stop_watch.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
namespace blob_db {
|
namespace blob_db {
|
|
@ -10,12 +10,12 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
#include "rocksdb/env.h"
|
#include "rocksdb/env.h"
|
||||||
#include "rocksdb/slice.h"
|
#include "rocksdb/slice.h"
|
||||||
#include "rocksdb/statistics.h"
|
#include "rocksdb/statistics.h"
|
||||||
#include "rocksdb/status.h"
|
#include "rocksdb/status.h"
|
||||||
#include "rocksdb/types.h"
|
#include "rocksdb/types.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
|
|
6
src.mk
6
src.mk
|
@ -8,6 +8,9 @@ LIB_SOURCES = \
|
||||||
db/blob/blob_file_addition.cc \
|
db/blob/blob_file_addition.cc \
|
||||||
db/blob/blob_file_garbage.cc \
|
db/blob/blob_file_garbage.cc \
|
||||||
db/blob/blob_file_meta.cc \
|
db/blob/blob_file_meta.cc \
|
||||||
|
db/blob/blob_log_format.cc \
|
||||||
|
db/blob/blob_log_reader.cc \
|
||||||
|
db/blob/blob_log_writer.cc \
|
||||||
db/builder.cc \
|
db/builder.cc \
|
||||||
db/c.cc \
|
db/c.cc \
|
||||||
db/column_family.cc \
|
db/column_family.cc \
|
||||||
|
@ -198,9 +201,6 @@ LIB_SOURCES = \
|
||||||
utilities/blob_db/blob_db_impl.cc \
|
utilities/blob_db/blob_db_impl.cc \
|
||||||
utilities/blob_db/blob_db_impl_filesnapshot.cc \
|
utilities/blob_db/blob_db_impl_filesnapshot.cc \
|
||||||
utilities/blob_db/blob_file.cc \
|
utilities/blob_db/blob_file.cc \
|
||||||
utilities/blob_db/blob_log_format.cc \
|
|
||||||
utilities/blob_db/blob_log_reader.cc \
|
|
||||||
utilities/blob_db/blob_log_writer.cc \
|
|
||||||
utilities/cassandra/cassandra_compaction_filter.cc \
|
utilities/cassandra/cassandra_compaction_filter.cc \
|
||||||
utilities/cassandra/format.cc \
|
utilities/cassandra/format.cc \
|
||||||
utilities/cassandra/merge_operator.cc \
|
utilities/cassandra/merge_operator.cc \
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
|
#include "db/blob/blob_log_reader.h"
|
||||||
|
#include "db/blob/blob_log_writer.h"
|
||||||
#include "db/db_iter.h"
|
#include "db/db_iter.h"
|
||||||
#include "rocksdb/compaction_filter.h"
|
#include "rocksdb/compaction_filter.h"
|
||||||
#include "rocksdb/db.h"
|
#include "rocksdb/db.h"
|
||||||
|
@ -30,9 +33,6 @@
|
||||||
#include "util/timer_queue.h"
|
#include "util/timer_queue.h"
|
||||||
#include "utilities/blob_db/blob_db.h"
|
#include "utilities/blob_db/blob_db.h"
|
||||||
#include "utilities/blob_db/blob_file.h"
|
#include "utilities/blob_db/blob_file.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
#include "utilities/blob_db/blob_log_reader.h"
|
|
||||||
#include "utilities/blob_db/blob_log_writer.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
#include "file/random_access_file_reader.h"
|
#include "file/random_access_file_reader.h"
|
||||||
#include "rocksdb/slice.h"
|
#include "rocksdb/slice.h"
|
||||||
#include "rocksdb/status.h"
|
#include "rocksdb/status.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
namespace blob_db {
|
namespace blob_db {
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
|
|
||||||
|
#include "db/blob/blob_log_format.h"
|
||||||
|
#include "db/blob/blob_log_reader.h"
|
||||||
|
#include "db/blob/blob_log_writer.h"
|
||||||
#include "file/random_access_file_reader.h"
|
#include "file/random_access_file_reader.h"
|
||||||
#include "port/port.h"
|
#include "port/port.h"
|
||||||
#include "rocksdb/env.h"
|
#include "rocksdb/env.h"
|
||||||
#include "rocksdb/options.h"
|
#include "rocksdb/options.h"
|
||||||
#include "utilities/blob_db/blob_log_format.h"
|
|
||||||
#include "utilities/blob_db/blob_log_reader.h"
|
|
||||||
#include "utilities/blob_db/blob_log_writer.h"
|
|
||||||
|
|
||||||
namespace ROCKSDB_NAMESPACE {
|
namespace ROCKSDB_NAMESPACE {
|
||||||
namespace blob_db {
|
namespace blob_db {
|
||||||
|
|
Loading…
Reference in New Issue