Skip to content

Commit

Permalink
compile: Fix headers so that *-headers targets compile cleanly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Sielużycki authored and denesb committed Mar 25, 2022
1 parent 5ef1b49 commit 6f1b6da
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions alternator/ttl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <seastar/core/sharded.hh>
#include <seastar/core/abort_source.hh>
#include <seastar/core/semaphore.hh>
#include "data_dictionary/data_dictionary.hh"

namespace replica {
class database;
Expand Down
1 change: 1 addition & 0 deletions cql3/statements/cf_properties.hh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include "cql3/statements/cf_prop_defs.hh"
#include "cql3/column_identifier.hh"
#include "data_dictionary/data_dictionary.hh"

namespace cql3 {

Expand Down
2 changes: 2 additions & 0 deletions db/size_estimates_virtual_reader.hh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

#include <seastar/core/io_priority_class.hh>
#include "readers/flat_mutation_reader_v2.hh"
#include "readers/flat_mutation_reader.hh"
#include "db/system_keyspace.hh"
#include "tracing/trace_state.hh"

namespace replica {
class database;
Expand Down
1 change: 1 addition & 0 deletions db/system_keyspace_view_types.hh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <seastar/core/seastar.hh>
#include <seastar/core/sstring.hh>
#include <seastar/core/smp.hh>
#include <utility>
#include <optional>
#include "dht/token.hh"
Expand Down
1 change: 1 addition & 0 deletions db/view/view_updating_consumer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "reader_permit.hh"
#include "db/view/row_locking.hh"
#include <seastar/core/abort_source.hh>
#include <seastar/core/circular_buffer.hh>
#include "mutation.hh"
#include "mutation_rebuilder.hh"

Expand Down
1 change: 1 addition & 0 deletions protocol_server.hh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "seastarx.hh"
#include <seastar/core/future.hh>
#include <seastar/net/socket_defs.hh>
#include <vector>
#include "client_data.hh"
#include "utils/chunked_vector.hh"
Expand Down
1 change: 1 addition & 0 deletions readers/from_mutations.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "dht/i_partitioner_fwd.hh"
#include <vector>
#include "mutation_fragment_fwd.hh"
#include "readers/flat_mutation_reader_fwd.hh"

class flat_mutation_reader;
class reader_permit;
Expand Down
1 change: 1 addition & 0 deletions readers/from_mutations_v2.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <vector>
#include "dht/i_partitioner_fwd.hh"
#include "mutation_fragment_fwd.hh"
#include "readers/flat_mutation_reader_fwd.hh"

class flat_mutation_reader_v2;
class reader_permit;
Expand Down
1 change: 1 addition & 0 deletions readers/upgrading_consumer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once

#include "mutation_fragment_v2.hh"
#include "range_tombstone_change_generator.hh"

template <typename EndConsumer>
requires requires(EndConsumer& c, mutation_fragment_v2 mf) {
Expand Down
2 changes: 2 additions & 0 deletions replica/memtable-sstable.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <seastar/core/io_priority_class.hh>

class flat_mutation_reader;
class flat_mutation_reader_v2;
class reader_permit;

namespace sstables {
class sstables_manager;
Expand Down
1 change: 1 addition & 0 deletions schema_upgrader.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once

#include "mutation_fragment.hh"
#include "mutation_fragment_v2.hh"
#include "converting_mutation_partition_applier.hh"

// A StreamedMutationTransformer which transforms the stream to a different schema
Expand Down
1 change: 1 addition & 0 deletions service/paxos/cas_request.hh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <optional>

#include "timestamp.hh"
#include <seastar/core/sharded.hh>

class mutation;

Expand Down
1 change: 1 addition & 0 deletions sstables/mutation_fragment_filter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "mutation_fragment.hh"
#include "clustering_ranges_walker.hh"
#include "clustering_key_filter.hh"
#include "readers/flat_mutation_reader_fwd.hh"

namespace sstables {

Expand Down
1 change: 1 addition & 0 deletions sstables/promoted_index_blocks_reader.hh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "m_format_read_helpers.hh"
#include "sstables/mx/parsers.hh"
#include "sstables/index_entry.hh"
#include <seastar/core/circular_buffer.hh>

namespace sstables {

Expand Down
1 change: 1 addition & 0 deletions test/raft/future_set.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <seastar/core/coroutine.hh>
#include <seastar/core/weak_ptr.hh>
#include <seastar/core/condition-variable.hh>
#include "test/raft/logical_timer.hh"

using namespace seastar;

Expand Down
1 change: 1 addition & 0 deletions test/raft/logical_timer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <seastar/core/future-util.hh>

#include "raft/logical_clock.hh"
#include "raft/raft.hh"

using namespace seastar;

Expand Down
7 changes: 7 additions & 0 deletions tombstone_gc.hh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "gc_clock.hh"
#include "dht/token.hh"
#include "schema_fwd.hh"
#include "range.hh"

namespace dht {

Expand All @@ -21,12 +22,18 @@ using token_range = nonwrapping_range<token>;

}

class tombstone_gc_options;

struct get_gc_before_for_range_result {
gc_clock::time_point min_gc_before;
gc_clock::time_point max_gc_before;
bool knows_entire_range;
};

namespace replica {
class database;
}

void drop_repair_history_map_for_table(const utils::UUID& id);

get_gc_before_for_range_result get_gc_before_for_range(schema_ptr s, const dht::token_range& range, const gc_clock::time_point& query_time);
Expand Down
1 change: 1 addition & 0 deletions utils/entangled.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once

#include <boost/intrusive/parent_from_member.hpp>
#include <assert.h>

// A movable pointer-like object paired with exactly one other object of the same type.
// The two objects which are paired with each other point at each other.
Expand Down
1 change: 1 addition & 0 deletions utils/immutable-collection.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once
#include <type_traits>
#include <seastar/util/concepts.hh>
#include <utility>

namespace utils {

Expand Down

0 comments on commit 6f1b6da

Please sign in to comment.