mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
code: Reduce tracing/*hh fanout
There are some headers that include tracing/*.hh ones despite all they need is forward-declared trace_state_ptr Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes #14155
This commit is contained in:
committed by
Avi Kivity
parent
b9a30dd5ac
commit
c68c154fb6
@@ -14,13 +14,14 @@
|
||||
#include "mutation/mutation_fragment.hh"
|
||||
#include "query-request.hh"
|
||||
#include "schema/schema_fwd.hh"
|
||||
#include "tracing/tracing.hh"
|
||||
|
||||
#include <boost/range/iterator_range.hpp>
|
||||
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
namespace tracing { class trace_state_ptr; }
|
||||
|
||||
namespace db::view {
|
||||
|
||||
// Allows a user to query the views_builds_in_progress system table
|
||||
|
||||
@@ -13,11 +13,12 @@
|
||||
#include "query-request.hh"
|
||||
#include "schema/schema_fwd.hh"
|
||||
#include "secondary_index_manager.hh"
|
||||
#include "tracing/tracing.hh"
|
||||
#include "view_info.hh"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace tracing { class trace_state_ptr; }
|
||||
|
||||
namespace db::index {
|
||||
|
||||
class built_indexes_virtual_reader {
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "compaction/compaction_strategy.hh"
|
||||
#include "utils/estimated_histogram.hh"
|
||||
#include <seastar/core/metrics_registration.hh>
|
||||
#include "tracing/trace_state.hh"
|
||||
#include "db/view/view_stats.hh"
|
||||
#include "db/view/view_update_backlog.hh"
|
||||
#include "db/view/row_locking.hh"
|
||||
@@ -75,6 +74,7 @@ class mutation;
|
||||
class frozen_mutation;
|
||||
class reconcilable_result;
|
||||
|
||||
namespace tracing { class trace_state_ptr; }
|
||||
namespace s3 { struct endpoint_config; }
|
||||
|
||||
namespace service {
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "utils/phased_barrier.hh"
|
||||
#include "utils/histogram.hh"
|
||||
#include "mutation/partition_version.hh"
|
||||
#include "tracing/trace_state.hh"
|
||||
#include <seastar/core/metrics_registration.hh>
|
||||
#include "mutation/mutation_cleaner.hh"
|
||||
#include "utils/double-decker.hh"
|
||||
@@ -37,6 +36,8 @@ namespace replica {
|
||||
class memtable_entry;
|
||||
}
|
||||
|
||||
namespace tracing { class trace_state_ptr; }
|
||||
|
||||
namespace cache {
|
||||
|
||||
class autoupdating_underlying_reader;
|
||||
|
||||
@@ -16,7 +16,11 @@
|
||||
#include "message/messaging_service_fwd.hh"
|
||||
#include "query-request.hh"
|
||||
#include "replica/database_fwd.hh"
|
||||
#include "tracing/trace_state.hh"
|
||||
|
||||
namespace tracing {
|
||||
class trace_state_ptr;
|
||||
class trace_info;
|
||||
}
|
||||
|
||||
namespace service {
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
#include "reader_permit.hh"
|
||||
#include "sstables/index_reader.hh"
|
||||
#include "sstables/shared_sstable.hh"
|
||||
#include "tracing/trace_state.hh"
|
||||
|
||||
namespace tracing { class trace_state_ptr; }
|
||||
|
||||
namespace sstables {
|
||||
namespace mx {
|
||||
|
||||
Reference in New Issue
Block a user