treewide: include fmt/ranges.h and/or fmt/std.h
before this change, we rely on the default-generated fmt::formatter
created from operator<<, but fmt v10 dropped the default-generated
formatter.
in this change, we include `fmt/ranges.h` and/or `fmt/std.h`
for formatting the container types, like vector, map
optional and variant using {fmt} instead of the homebrew
formatter based on operator<<.
with this change, the changes adding fmt::formatter and
the changes using ostream formatter explicitly, we are
allowed to drop `FMT_DEPRECATED_OSTREAM` macro.
Refs scylladb#13245
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include "alternator/executor.hh"
|
||||
#include "db/config.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "alternator/server.hh"
|
||||
#include "log.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/http/function_handlers.hh>
|
||||
#include <seastar/http/short_streams.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <boost/algorithm/string/trim_all.hpp>
|
||||
#include <boost/algorithm/string/case_conv.hpp>
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "service/raft/raft_group0_client.hh"
|
||||
#include "service/storage_service.hh"
|
||||
#include "service/load_meter.hh"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "api/api.hh"
|
||||
#include "api/storage_service.hh"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "auth/certificate_authenticator.hh"
|
||||
|
||||
#include <regex>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "utils/class_registrator.hh"
|
||||
#include "data_dictionary/data_dictionary.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "auth/permissions_cache.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include "auth/authorizer.hh"
|
||||
#include "auth/service.hh"
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "sstables/sstables.hh"
|
||||
#include "sstables/sstables_manager.hh"
|
||||
#include <memory>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/metrics.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/switch_to.hh>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <chrono>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/shared_ptr.hh>
|
||||
#include "seastar/core/on_internal_error.hh"
|
||||
#include "sstables/shared_sstable.hh"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "cql3/query_processor.hh"
|
||||
#include "service/storage_proxy.hh"
|
||||
#include <boost/range/adaptors.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
@@ -385,6 +385,7 @@ struct fmt::formatter<data_dictionary::user_types_metadata> {
|
||||
};
|
||||
|
||||
auto fmt::formatter<data_dictionary::keyspace_metadata>::format(const data_dictionary::keyspace_metadata& m, fmt::format_context& ctx) const -> decltype(ctx.out()) {
|
||||
return fmt::format_to(ctx.out(), "KSMetaData{{name={}, strategyClass={}, strategyOptions={{{}}}, cfMetaData={{{}}}, durable_writes={}, userTypes={}}}",
|
||||
m.name(), m.strategy_name(), fmt::join(m.strategy_options(), ", "), fmt::join(m.cf_meta_data(), ", "), m.durable_writes(), m.user_types());
|
||||
return ctx.out();
|
||||
// return fmt::format_to(ctx.out(), "KSMetaData{{name={}, strategyClass={}, strategyOptions={}, cfMetaData={}, durable_writes={}, userTypes={}}}",
|
||||
// m.name(), m.strategy_name(), m.strategy_options(), m.cf_meta_data(), m.durable_writes(), m.user_types());
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <exception>
|
||||
#include <filesystem>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/align.hh>
|
||||
#include <seastar/core/seastar.hh>
|
||||
#include <seastar/core/metrics.hh>
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <boost/program_options.hpp>
|
||||
#include <yaml-cpp/yaml.h>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/core/print.hh>
|
||||
#include <seastar/util/log.hh>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <boost/range/algorithm/find.hpp>
|
||||
#include <boost/range/algorithm/transform.hpp>
|
||||
#include "exceptions/exceptions.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sstring.hh>
|
||||
#include "schema/schema.hh"
|
||||
#include "replica/database.hh"
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include "db/hints/internal/hint_storage.hh"
|
||||
|
||||
#include <fmt/std.h>
|
||||
|
||||
// Seastar features.
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/core/file.hh>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include "db/hints/manager.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
// Seastar features.
|
||||
#include <seastar/core/abort_source.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
#include "db/extensions.hh"
|
||||
#include "utils/hashers.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/util/noncopyable_function.hh>
|
||||
#include <seastar/rpc/rpc_types.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/icl/interval_map.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <boost/algorithm/cxx11/any_of.hpp>
|
||||
#include <boost/algorithm/cxx11/all_of.hpp>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/future-util.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/maybe_yield.hh>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <boost/algorithm/string/erase.hpp>
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
|
||||
#include "dht/boot_strapper.hh"
|
||||
|
||||
@@ -8,15 +8,16 @@
|
||||
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
|
||||
*/
|
||||
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include "dht/range_streamer.hh"
|
||||
#include "replica/database.hh"
|
||||
#include "gms/gossiper.hh"
|
||||
#include "log.hh"
|
||||
#include "streaming/stream_plan.hh"
|
||||
#include "db/config.hh"
|
||||
#include <seastar/core/semaphore.hh>
|
||||
#include <boost/range/adaptors.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/semaphore.hh>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include "utils/stall_free.hh"
|
||||
|
||||
namespace dht {
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "utils/to_string.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/when_all.hh>
|
||||
#include <seastar/core/loop.hh>
|
||||
#include <seastar/core/reactor.hh>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "message/messaging_service.hh"
|
||||
#include "log.hh"
|
||||
#include "db/system_keyspace.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include <seastar/core/metrics.hh>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "utils/class_registrator.hh"
|
||||
#include "exceptions/exceptions.hh"
|
||||
#include <boost/range/algorithm/remove_if.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/maybe_yield.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <functional>
|
||||
#include <random>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/maybe_yield.hh>
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/maybe_yield.hh>
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/as_future.hh>
|
||||
#include <seastar/coroutine/exception.hh>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "node_ops/node_ops_ctl.hh"
|
||||
#include "service/storage_service.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
|
||||
@@ -203,4 +204,4 @@ future<> node_ops_ctl::heartbeat_updater(node_ops_cmd cmd) {
|
||||
co_await sleep_abortable(heartbeat_interval, as).handle_exception([] (std::exception_ptr) {});
|
||||
}
|
||||
nlogger.info("{}[{}]: Stopped heartbeat_updater", desc, uuid());
|
||||
}
|
||||
}
|
||||
|
||||
1
query.cc
1
query.cc
@@ -9,6 +9,7 @@
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <fmt/ranges.h>
|
||||
#include "query-request.hh"
|
||||
#include "query-result.hh"
|
||||
#include "query-result-writer.hh"
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <boost/range/algorithm_ext.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/gate.hh>
|
||||
#include <seastar/util/defer.hh>
|
||||
#include <seastar/core/metrics_registration.hh>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <exception>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/util/defer.hh>
|
||||
#include "gms/endpoint_state.hh"
|
||||
#include "repair/repair.hh"
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <fmt/std.h>
|
||||
#include "log.hh"
|
||||
#include "replica/database_fwd.hh"
|
||||
#include "utils/lister.hh"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/std.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/core/smp.hh>
|
||||
#include <seastar/coroutine/maybe_yield.hh>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "types/types.hh"
|
||||
#include "types/tuple.hh"
|
||||
#include "types/list.hh"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "row_cache.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/memory.hh>
|
||||
#include <seastar/core/do_with.hh>
|
||||
#include <seastar/core/future-util.hh>
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include "utils/result_combinators.hh"
|
||||
#include "db/view/delete_ghost_rows_visitor.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
template<typename T = void>
|
||||
using result = service::pager::query_pager::result<T>;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
#include <iterator>
|
||||
#include <source_location>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "service/raft/group0_fwd.hh"
|
||||
#include "service/raft/raft_group0.hh"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <random>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/util/defer.hh>
|
||||
#include "partition_range_compat.hh"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "dht/boot_strapper.hh"
|
||||
#include <exception>
|
||||
#include <optional>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/distributed.hh>
|
||||
#include <seastar/util/defer.hh>
|
||||
#include <seastar/coroutine/as_future.hh>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "db/config.hh"
|
||||
#include "locator/load_sketch.hh"
|
||||
#include <utility>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
using namespace locator;
|
||||
using namespace replica;
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/abort_source.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/as_future.hh>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
*/
|
||||
|
||||
#include <type_traits>
|
||||
#include <fmt/ranges.h>
|
||||
#include <fmt/std.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
#include <seastar/util/file.hh>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <concepts>
|
||||
#include <vector>
|
||||
#include <limits>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/future.hh>
|
||||
#include <seastar/core/future-util.hh>
|
||||
#include <seastar/core/sstring.hh>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
#include <fmt/std.h>
|
||||
#include <seastar/coroutine/exception.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
#include <seastar/util/file.hh>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
#include <seastar/rpc/rpc.hh>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "streaming/stream_exception.hh"
|
||||
#include "log.hh"
|
||||
#include <cfloat>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
namespace streaming {
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <boost/icl/interval.hpp>
|
||||
#include <boost/icl/interval_set.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "sstables/sstables.hh"
|
||||
#include "replica/database.hh"
|
||||
#include "repair/table_check.hh"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <boost/range/algorithm.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <stdint.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/future-util.hh>
|
||||
#include <seastar/core/shared_ptr.hh>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/testing/test_case.hh>
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <string>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "cdc/log.hh"
|
||||
#include "cdc/cdc_options.hh"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
#include "db/commitlog/commitlog_replayer.hh"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <string_view>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/future.hh>
|
||||
#include <seastar/core/shared_ptr.hh>
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/multiprecision/cpp_int.hpp>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <seastar/testing/thread_test_case.hh>
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/multiprecision/cpp_int.hpp>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/net/inet_address.hh>
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <seastar/testing/thread_test_case.hh>
|
||||
#include <utility>
|
||||
#include <fmt/ranges.h>
|
||||
#include <fmt/std.h>
|
||||
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
#include "test/lib/result_set_assertions.hh"
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "utils/error_injection.hh"
|
||||
#include "transport/messages/result_message.hh"
|
||||
#include "service/migration_manager.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/metrics_api.hh>
|
||||
|
||||
static future<utils::chunked_vector<std::vector<managed_bytes_opt>>> fetch_rows(cql_test_env& e, std::string_view cql) {
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <seastar/util/closeable.hh>
|
||||
#include "service/migration_manager.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include "replica/memtable.hh"
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/range/algorithm/sort.hpp>
|
||||
#include <utility>
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <random>
|
||||
#include <source_location>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/core/do_with.hh>
|
||||
#include <seastar/core/thread.hh>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <seastar/testing/thread_test_case.hh>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/range/adaptors.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "gms/inet_address.hh"
|
||||
#include "locator/types.hh"
|
||||
#include "utils/UUID_gen.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <boost/algorithm/cxx11/all_of.hpp>
|
||||
#include <boost/range/combine.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
#include "dht/i_partitioner.hh"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "test/lib/exception_utils.hh"
|
||||
#include "db/config.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "test/lib/random_schema.hh"
|
||||
#include "test/lib/tmpdir.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <boost/range/adaptors.hpp>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
#include "cql3/cql_config.hh"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "test/lib/sstable_utils.hh"
|
||||
#include "utils/throttle.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/range/algorithm/min_element.hpp>
|
||||
#include "readers/from_mutations_v2.hh"
|
||||
#include "readers/delegating_v2.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <seastar/util/defer.hh>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <iterator>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sstring.hh>
|
||||
#include <seastar/core/future-util.hh>
|
||||
#include <seastar/core/align.hh>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/sstring.hh>
|
||||
#include <seastar/core/future-util.hh>
|
||||
#include <seastar/core/align.hh>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "db/config.hh"
|
||||
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/algorithm/string/erase.hpp>
|
||||
|
||||
class distributed_loader_for_tests {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include <fmt/std.h>
|
||||
|
||||
#include <seastar/core/print.hh>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include "test/lib/random_utils.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/testing/thread_test_case.hh>
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
#include "test/lib/log.hh"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "test/lib/scylla_test_case.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/testing/thread_test_case.hh>
|
||||
#include "test/lib/cql_assertions.hh"
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "test/lib/exception_utils.hh"
|
||||
#include "db/config.hh"
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
|
||||
// Specifies that the given 'cql' query fails with the 'msg' message.
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "replica/database.hh"
|
||||
#include "db/view/view_builder.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "replica/database.hh"
|
||||
#include "db/view/view_builder.hh"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "test/lib/cql_assertions.hh"
|
||||
#include "transport/messages/result_message.hh"
|
||||
#include "utils/to_string.hh"
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "cql3/statements/batch_statement.hh"
|
||||
#include "cql3/statements/modification_statement.hh"
|
||||
#include "cql3/cql_config.hh"
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/distributed.hh>
|
||||
#include <seastar/core/abort_source.hh>
|
||||
#include <seastar/core/shared_ptr.hh>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "expr_test_utils.hh"
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
namespace cql3 {
|
||||
namespace expr {
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <set>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "partition_slice_builder.hh"
|
||||
#include "schema/schema_builder.hh"
|
||||
#include "test/lib/mutation_source_test.hh"
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "utils/overloaded_functor.hh"
|
||||
#include <boost/program_options.hpp>
|
||||
#include <iostream>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/util/defer.hh>
|
||||
|
||||
static const sstring some_keyspace("ks");
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "db/commitlog/commitlog.hh"
|
||||
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/app-template.hh>
|
||||
#include <seastar/core/seastar.hh>
|
||||
#include <seastar/core/units.hh>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include "seastarx.hh"
|
||||
#include "test/lib/simple_schema.hh"
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <boost/algorithm/string/split.hpp>
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <boost/range/adaptors.hpp>
|
||||
#include <boost/range/algorithm/sort.hpp>
|
||||
#include <json/json.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
#include "test/lib/reader_concurrency_semaphore.hh"
|
||||
#include "test/perf/perf.hh"
|
||||
|
||||
@@ -8,9 +8,10 @@
|
||||
|
||||
#include <boost/algorithm/string/split.hpp>
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
#include <json/json.h>
|
||||
|
||||
#include <boost/range/irange.hpp>
|
||||
#include <json/json.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "test/lib/cql_test_env.hh"
|
||||
#include "test/lib/alternator_test_env.hh"
|
||||
#include "test/perf/perf.hh"
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include <seastar/core/distributed.hh>
|
||||
#include <seastar/core/app-template.hh>
|
||||
#include <seastar/core/sstring.hh>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <iostream>
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/ostream.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "utils/compact-radix-tree.hh"
|
||||
#include "radix_tree_printer.hh"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/fstream.hh>
|
||||
#include <seastar/http/short_streams.hh>
|
||||
#include <seastar/util/closeable.hh>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/sleep.hh>
|
||||
#include <seastar/core/thread.hh>
|
||||
#include <seastar/core/when_all.hh>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <filesystem>
|
||||
#include <set>
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/core/queue.hh>
|
||||
#include <seastar/util/closeable.hh>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <seastar/core/thread.hh>
|
||||
#include <fmt/ranges.h>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#include <fmt/std.h>
|
||||
#include <seastar/core/seastar.hh>
|
||||
#include <seastar/core/coroutine.hh>
|
||||
#include <seastar/coroutine/parallel_for_each.hh>
|
||||
|
||||
Reference in New Issue
Block a user