Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WriteController: move it to public interface #579

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
WriteController: move it to public interface
Yuval-Ariel committed Jul 24, 2023
commit 76a4447105b10fae8ade1e58586867cc4402b011
2 changes: 1 addition & 1 deletion db/column_family.cc
Original file line number Diff line number Diff line change
@@ -29,14 +29,14 @@
#include "db/range_del_aggregator.h"
#include "db/table_properties_collector.h"
#include "db/version_set.h"
#include "db/write_controller.h"
#include "file/sst_file_manager_impl.h"
#include "logging/logging.h"
#include "monitoring/thread_status_util.h"
#include "options/options_helper.h"
#include "port/port.h"
#include "rocksdb/convenience.h"
#include "rocksdb/table.h"
#include "rocksdb/write_controller.h"
#include "table/merging_iterator.h"
#include "util/autovector.h"
#include "util/cast_util.h"
2 changes: 1 addition & 1 deletion db/column_family.h
Original file line number Diff line number Diff line change
@@ -19,12 +19,12 @@
#include "db/table_cache.h"
#include "db/table_properties_collector.h"
#include "db/write_batch_internal.h"
#include "db/write_controller.h"
#include "options/cf_options.h"
#include "rocksdb/compaction_job_stats.h"
#include "rocksdb/db.h"
#include "rocksdb/env.h"
#include "rocksdb/options.h"
#include "rocksdb/write_controller.h"
#include "trace_replay/block_cache_tracer.h"
#include "util/hash_containers.h"
#include "util/thread_local.h"
2 changes: 1 addition & 1 deletion db/compaction/compaction_job.h
Original file line number Diff line number Diff line change
@@ -29,7 +29,6 @@
#include "db/range_del_aggregator.h"
#include "db/seqno_to_time_mapping.h"
#include "db/version_edit.h"
#include "db/write_controller.h"
#include "db/write_thread.h"
#include "logging/event_logger.h"
#include "options/cf_options.h"
@@ -41,6 +40,7 @@
#include "rocksdb/env.h"
#include "rocksdb/memtablerep.h"
#include "rocksdb/transaction_log.h"
#include "rocksdb/write_controller.h"
#include "table/scoped_arena_iterator.h"
#include "util/autovector.h"
#include "util/stop_watch.h"
2 changes: 1 addition & 1 deletion db/db_impl/db_impl.h
Original file line number Diff line number Diff line change
@@ -45,7 +45,6 @@
#include "db/trim_history_scheduler.h"
#include "db/version_edit.h"
#include "db/wal_manager.h"
#include "db/write_controller.h"
#include "db/write_thread.h"
#include "logging/event_logger.h"
#include "monitoring/instrumented_mutex.h"
@@ -59,6 +58,7 @@
#include "rocksdb/transaction_log.h"
#include "rocksdb/utilities/replayer.h"
#include "rocksdb/write_buffer_manager.h"
#include "rocksdb/write_controller.h"
#include "table/merging_iterator.h"
#include "table/scoped_arena_iterator.h"
#include "util/autovector.h"
2 changes: 1 addition & 1 deletion db/flush_job.h
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@
#include "db/seqno_to_time_mapping.h"
#include "db/snapshot_impl.h"
#include "db/version_edit.h"
#include "db/write_controller.h"
#include "db/write_thread.h"
#include "logging/event_logger.h"
#include "monitoring/instrumented_mutex.h"
@@ -39,6 +38,7 @@
#include "rocksdb/listener.h"
#include "rocksdb/memtablerep.h"
#include "rocksdb/transaction_log.h"
#include "rocksdb/write_controller.h"
#include "table/scoped_arena_iterator.h"
#include "util/autovector.h"
#include "util/stop_watch.h"
2 changes: 1 addition & 1 deletion db/global_write_controller_test.cc
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@
// limitations under the License.

#include "db/db_test_util.h"
#include "db/write_controller.h"
#include "rocksdb/write_buffer_manager.h"
#include "rocksdb/write_controller.h"

namespace ROCKSDB_NAMESPACE {

2 changes: 1 addition & 1 deletion db/memtable_list_test.cc
Original file line number Diff line number Diff line change
@@ -11,10 +11,10 @@

#include "db/merge_context.h"
#include "db/version_set.h"
#include "db/write_controller.h"
#include "rocksdb/db.h"
#include "rocksdb/status.h"
#include "rocksdb/write_buffer_manager.h"
#include "rocksdb/write_controller.h"
#include "test_util/testharness.h"
#include "test_util/testutil.h"
#include "util/string_util.h"
2 changes: 1 addition & 1 deletion db/version_set.h
Original file line number Diff line number Diff line change
@@ -45,8 +45,8 @@
#include "db/table_cache.h"
#include "db/version_builder.h"
#include "db/version_edit.h"
#include "db/write_controller.h"
#include "env/file_system_tracer.h"
#include "rocksdb/write_controller.h"
#if USE_COROUTINES
#include "folly/experimental/coro/BlockingWait.h"
#include "folly/experimental/coro/Collect.h"
2 changes: 1 addition & 1 deletion db/write_controller.cc
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).

#include "db/write_controller.h"
#include "rocksdb/write_controller.h"

#include <algorithm>
#include <atomic>
2 changes: 1 addition & 1 deletion db/write_controller_test.cc
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
#include "db/write_controller.h"
#include "rocksdb/write_controller.h"

#include <array>
#include <ratio>
File renamed without changes.