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

chore: fix headers #21287

Merged
merged 4 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 6 additions & 1 deletion src/v/cluster/data_migration_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
#include "cluster/errc.h"
#include "container/fragmented_vector.h"
#include "model/metadata.h"
#include "serde/envelope.h"
#include "serde/rw/enum.h"
#include "serde/rw/envelope.h"
#include "serde/rw/named_type.h"
#include "serde/rw/optional.h"
#include "serde/rw/sstring.h"
#include "serde/rw/variant.h"
#include "serde/rw/vector.h"
#include "utils/named_type.h"

#include <absl/container/flat_hash_set.h>
Expand Down
3 changes: 2 additions & 1 deletion src/v/cluster/ephemeral_credential_serde.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#include "security/acl.h"
#include "security/scram_credential.h"
#include "security/types.h"
#include "serde/envelope.h"
#include "serde/rw/enum.h"
#include "serde/rw/envelope.h"

namespace cluster {

Expand Down
2 changes: 1 addition & 1 deletion src/v/cluster/node_status_rpc_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#pragma once

#include "model/metadata.h"
#include "serde/envelope.h"
#include "serde/rw/envelope.h"

#include <fmt/ostream.h>

Expand Down
10 changes: 9 additions & 1 deletion src/v/cluster/self_test_rpc_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
#include "config/node_config.h"
#include "json/document.h"
#include "model/metadata.h"
#include "serde/envelope.h"
#include "serde/rw/chrono.h"
#include "serde/rw/enum.h"
#include "serde/rw/envelope.h"
#include "serde/rw/iobuf.h"
#include "serde/rw/optional.h"
#include "serde/rw/scalar.h"
#include "serde/rw/sstring.h"
#include "serde/rw/uuid.h"
#include "serde/rw/vector.h"
#include "utils/uuid.h"

#include <seastar/core/io_priority_class.hh>
Expand Down
2 changes: 1 addition & 1 deletion src/v/raft/heartbeat_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
#include "raft/heartbeat_manager.h"

#include "base/likely.h"
#include "base/outcome_future_utils.h"
#include "base/vlog.h"
#include "config/configuration.h"
#include "features/feature_table.h"
#include "follower_stats.h"
#include "model/metadata.h"
#include "model/timeout_clock.h"
#include "outcome_future_utils.h"
#include "raft/consensus_client_protocol.h"
#include "raft/errc.h"
#include "raft/group_configuration.h"
Expand Down
2 changes: 1 addition & 1 deletion src/v/raft/recovery_stm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

#include "raft/recovery_stm.h"

#include "base/outcome_future_utils.h"
#include "bytes/iostream.h"
#include "model/fundamental.h"
#include "model/record_batch_reader.h"
#include "outcome_future_utils.h"
#include "raft/consensus.h"
#include "raft/consensus_utils.h"
#include "raft/errc.h"
Expand Down
2 changes: 1 addition & 1 deletion src/v/raft/replicate_entries_stm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

#include "base/likely.h"
#include "base/outcome.h"
#include "base/outcome_future_utils.h"
#include "features/feature_table.h"
#include "model/fundamental.h"
#include "model/metadata.h"
#include "model/record.h"
#include "model/record_batch_reader.h"
#include "outcome_future_utils.h"
#include "raft/consensus.h"
#include "raft/consensus_utils.h"
#include "raft/errc.h"
Expand Down
2 changes: 1 addition & 1 deletion src/v/raft/rpc_client_protocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "raft/rpc_client_protocol.h"

#include "outcome_future_utils.h"
#include "base/outcome_future_utils.h"
#include "raft/raftgen_service.h"
#include "raft/types.h"
#include "rpc/connection_cache.h"
Expand Down
6 changes: 5 additions & 1 deletion src/v/raft/transfer_leadership.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
#include "model/fundamental.h"
#include "raft/errc.h"
#include "raft/fundamental.h"
#include "serde/envelope.h"
#include "serde/rw/chrono.h"
#include "serde/rw/enum.h"
#include "serde/rw/envelope.h"
#include "serde/rw/optional.h"
#include "serde/rw/scalar.h"

namespace raft {

Expand Down
2 changes: 1 addition & 1 deletion src/v/rpc/include/rpc/connection_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/

#pragma once
#include "base/outcome_future_utils.h"
#include "model/metadata.h"
#include "outcome_future_utils.h"
#include "rpc/backoff_policy.h"
#include "rpc/connection_set.h"
#include "rpc/errc.h"
Expand Down
2 changes: 1 addition & 1 deletion src/v/rpc/include/rpc/connection_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#pragma once

#include "base/outcome.h"
#include "base/outcome_future_utils.h"
#include "config/tls_config.h"
#include "model/metadata.h"
#include "outcome_future_utils.h"
#include "rpc/backoff_policy.h"
#include "rpc/errc.h"
#include "rpc/reconnect_transport.h"
Expand Down
2 changes: 1 addition & 1 deletion src/v/rpc/include/rpc/parse_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "reflection/async_adl.h"
#include "rpc/logger.h"
#include "rpc/types.h"
#include "serde/serde.h"
#include "serde/async.h"

#include <seastar/core/do_with.hh>
#include <seastar/core/future.hh>
Expand Down
1 change: 0 additions & 1 deletion src/v/rpc/reconnect_transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "rpc/reconnect_transport.h"

#include "model/timeout_clock.h"
#include "raft/logger.h"
#include "rpc/errc.h"
#include "rpc/logger.h"
#include "rpc/transport.h"
Expand Down
1 change: 1 addition & 0 deletions src/v/serde/peek.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0
#pragma once

#include "serde/envelope.h"
#include "serde/rw/rw.h"
Expand Down
1 change: 1 addition & 0 deletions src/v/serde/serde.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
#include "serde/rw/sstring.h"
#include "serde/rw/tristate_rw.h"
#include "serde/rw/uuid.h"
#include "serde/rw/variant.h"
#include "serde/rw/vector.h"
2 changes: 1 addition & 1 deletion src/v/utils/tests/outcome_utils_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0

#include "outcome_future_utils.h"
#include "base/outcome_future_utils.h"

#include <seastar/testing/thread_test_case.hh>

Expand Down
Loading