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

Oversized allocation: 1232896 bytes in admin_server::register_partition_routes #11674

Closed
vshtokman opened this issue Jun 24, 2023 · 2 comments · Fixed by #11824
Closed

Oversized allocation: 1232896 bytes in admin_server::register_partition_routes #11674

vshtokman opened this issue Jun 24, 2023 · 2 comments · Fixed by #11824
Assignees
Labels
area/kafka area/oversized-allocation kind/bug Something isn't working sev/medium Bugs that do not meet criteria for high or critical, but are more severe than low.

Comments

@vshtokman
Copy link
Contributor

Note that the location needs to be clarified.

Found via Brandon Allard's script.

Artifact URL: https://ci-artifacts.dev.vectorized.cloud:443/vtools/8213/0188e80f-cb8a-413f-a7a2-8741ea51e304/vbuild/output/ducktape-release-clang-amd64.tgz

Test details: tmp/ducktape/results/2023-06-23--001/LargeControllerSnapshotTest/test_join_restart/169/RedpandaService-0-140553123898432/ip-172-31-2-199/redpanda.log

[shard 1] seastar_memory - oversized allocation: 1232896 bytes. This is non-fatal, but could lead to latency and/or fragmentation issues. Please report: at
[Backtrace #11]
{tmp/libexec/redpanda} 0x6f2da33: void seastar::backtrace<seastar::current_backtrace_tasklocal()::$_0>(seastar::current_backtrace_tasklocal()::$_0&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/util/backtrace.hh:60
 (inlined by) seastar::current_backtrace_tasklocal() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/util/backtrace.cc:86
 (inlined by) seastar::current_tasktrace() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/util/backtrace.cc:137
 (inlined by) seastar::current_backtrace() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/util/backtrace.cc:170
{tmp/libexec/redpanda} 0x6bac42b: seastar::memory::cpu_pages::warn_large_allocation(unsigned long) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:809
 (inlined by) seastar::memory::cpu_pages::check_large_allocation(unsigned long) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:859
 (inlined by) seastar::memory::cpu_pages::allocate_large(unsigned int, bool) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:866
 (inlined by) seastar::memory::allocate_large(unsigned long, bool) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:1429
 (inlined by) seastar::memory::allocate_slowpath(unsigned long, bool) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:1547
{tmp/libexec/redpanda} 0x6bbe01d: seastar::memory::allocate(unsigned long) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:1565
 (inlined by) operator new(unsigned long) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/memory.cc:2265
{tmp/libexec/redpanda} 0x257ff66: void* std::__1::__libcpp_operator_new[abi:v160004]<unsigned long>(unsigned long) at /vectorized/llvm/bin/../include/c++/v1/new:266
 (inlined by) std::__1::__libcpp_allocate[abi:v160004](unsigned long, unsigned long) at /vectorized/llvm/bin/../include/c++/v1/new:292
 (inlined by) std::__1::allocator<seastar::httpd::partition_json::partition_summary>::allocate[abi:v160004](unsigned long) at /vectorized/llvm/bin/../include/c++/v1/__memory/allocator.h:115
 (inlined by) std::__1::__allocation_result<std::__1::allocator_traits<std::__1::allocator<seastar::httpd::partition_json::partition_summary> >::pointer> std::__1::__allocate_at_least[abi:v160004]<std::__1::allocator<seastar::httpd::partition_json::partition_summary> >(std::__1::allocator<seastar::httpd::partition_json::partition_summary>&, unsigned long) at /vectorized/llvm/bin/../include/c++/v1/__memory/allocate_at_least.h:55
 (inlined by) std::__1::__split_buffer<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<seastar::httpd::partition_json::partition_summary>&) at /vectorized/llvm/bin/../include/c++/v1/__split_buffer:323
 (inlined by) std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >::reserve(unsigned long) at /vectorized/llvm/bin/../include/c++/v1/vector:1503
 (inlined by) auto auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&)::operator()<cluster::partition_manager>(auto&) const at /var/lib/buildkite-agent/builds/buildkite-amd64-builders-i-0afdc89a34fd4b5a0-1/redpanda/redpanda/src/v/redpanda/admin_server.cc:3010
 (inlined by) decltype(std::declval<auto>()(std::declval<admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>()...)) std::__1::__invoke[abi:v160004]<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&) const&, cluster::partition_manager&>(auto&&, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)&&...) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:394
 (inlined by) std::__1::invoke_result<auto, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)...>::type std::__1::invoke[abi:v160004]<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&) const&, cluster::partition_manager&>(auto&&, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)&&...) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:539
 (inlined by) seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)::operator()(unsigned int) const::'lambda'()::operator()() const at /vectorized/include/seastar/core/sharded.hh:387
{tmp/libexec/redpanda} 0x257ce75: seastar::future<std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> > > seastar::futurize<std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> > >::invoke<seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)::operator()(unsigned int) const::'lambda'()>(auto&&, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)&&...) at /vectorized/include/seastar/core/future.hh:2001
 (inlined by) seastar::futurize<std::__1::invoke_result<auto>::type>::type seastar::smp::submit_to<seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)::operator()(unsigned int) const::'lambda'()>(unsigned int, seastar::smp_submit_to_options, auto&&) at /vectorized/include/seastar/core/smp.hh:351
 (inlined by) seastar::futurize<std::__1::invoke_result<auto>::type>::type seastar::smp::submit_to<seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)::operator()(unsigned int) const::'lambda'()>(unsigned int, auto&&) at /vectorized/include/seastar/core/smp.hh:385
 (inlined by) seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)::operator()(unsigned int) const at /vectorized/include/seastar/core/sharded.hh:385
 (inlined by) seastar::future<std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> > > seastar::futurize<seastar::future<std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> > > >::invoke<seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)&, unsigned int>(auto&&, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)&&...) at /vectorized/include/seastar/core/future.hh:1999
 (inlined by) auto seastar::futurize_invoke<seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int)&, unsigned int>(auto&&, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)&&...) at /vectorized/include/seastar/core/future.hh:2030
 (inlined by) seastar::future<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)> seastar::map_reduce<boost::range_detail::integer_iterator<unsigned int>, seastar::future<auto> seastar::sharded<cluster::partition_manager>::map_reduce0<auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(auto&), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >))::'lambda'(unsigned int), std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto const&)>(auto&, bool, auto) const::'lambda'(std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >, std::__1::vector<seastar::httpd::partition_json::partition_summary, std::__1::allocator<seastar::httpd::partition_json::partition_summary> >)>(auto, auto, auto&&, auto admin_server::register_partition_routes()::$_0::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(auto&, bool, auto)::operator()<seastar::sharded<cluster::partition_manager>, admin_server::register_partition_routes()::$_0::operator()...
...
...
...
(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&) const::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1470
 (inlined by) seastar::future<void> seastar::future<std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >::then<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)::operator()(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&) const::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >), seastar::future<void> >(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)::operator()(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&) const::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1396
 (inlined by) seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)::operator()(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&) const at /v/build/v_deps_build/seastar-prefix/src/seastar/src/http/httpd.cc:258
 (inlined by) decltype(std::declval<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&>()(std::declval<seastar::input_stream<char>&>(), std::declval<seastar::basic_sstring<char, unsigned int, 15u, true>&>(), std::declval<std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&>())) std::__1::__invoke[abi:v160004]<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&>(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:394
 (inlined by) decltype(auto) std::__1::__apply_tuple_impl[abi:v160004]<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, std::__1::tuple<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >&, 0ul, 1ul, 2ul>(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, std::__1::tuple<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >&, std::__1::__tuple_indices<0ul, 1ul, 2ul>) at /vectorized/llvm/bin/../include/c++/v1/tuple:1816
 (inlined by) decltype(auto) std::__1::apply[abi:v160004]<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, std::__1::tuple<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >&>(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&, std::__1::tuple<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >&) at /vectorized/llvm/bin/../include/c++/v1/tuple:1825
 (inlined by) auto seastar::internal::do_with_impl<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)>(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/do_with.hh:96
 (inlined by) seastar::future<void> seastar::futurize<seastar::future<void> >::invoke<seastar::future<void> (*&)(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&), seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)>(seastar::future<void> (*&)(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&), seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1999
 (inlined by) auto seastar::futurize_invoke<seastar::future<void> (*&)(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&), seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)>(seastar::future<void> (*&)(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&), seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:2030
 (inlined by) auto seastar::do_with<seastar::input_stream<char>, seastar::basic_sstring<char, unsigned int, 15u, true>, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)>(seastar::input_stream<char>&&, seastar::basic_sstring<char, unsigned int, 15u, true>&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&, seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const::'lambda'(seastar::input_stream<char>&, seastar::basic_sstring<char, unsigned int, 15u, true>&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/do_with.hh:131
 (inlined by) seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)::operator()(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >) const at /v/build/v_deps_build/seastar-prefix/src/seastar/src/http/httpd.cc:257
{tmp/libexec/redpanda} 0x6daefe0: seastar::future<void> seastar::futurize<seastar::future<void> >::invoke<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >), std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)&&, std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1999
 (inlined by) seastar::future<void> seastar::future<std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >::then_impl<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >), seastar::future<void> >(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1470
 (inlined by) seastar::future<void> seastar::future<std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> > >::then<seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >), seastar::future<void> >(seastar::httpd::connection::read_one()::$_0::operator()()::'lambda'(std::__1::unique_ptr<seastar::http::request, std::__1::default_delete<seastar::http::request> >)&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1396
 (inlined by) seastar::httpd::connection::read_one()::$_0::operator()() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/http/httpd.cc:256
{tmp/libexec/redpanda} 0x6dba221: decltype(std::declval<seastar::httpd::connection::read_one()::$_0&>()()) std::__1::__invoke[abi:v160004]<seastar::httpd::connection::read_one()::$_0&>(seastar::httpd::connection::read_one()::$_0&) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:394
 (inlined by) std::__1::invoke_result<seastar::httpd::connection::read_one()::$_0&>::type std::__1::invoke[abi:v160004]<seastar::httpd::connection::read_one()::$_0&>(seastar::httpd::connection::read_one()::$_0&) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:539
 (inlined by) auto seastar::internal::future_invoke<seastar::httpd::connection::read_one()::$_0&, seastar::internal::monostate>(seastar::httpd::connection::read_one()::$_0&, seastar::internal::monostate&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1153
 (inlined by) seastar::future<void> seastar::future<void>::then_impl_nrvo<seastar::httpd::connection::read_one()::$_0, seastar::future<void> >(seastar::httpd::connection::read_one()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&)::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&) const::'lambda'()::operator()() const at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1455
 (inlined by) void seastar::futurize<seastar::future<void> >::satisfy_with_result_of<seastar::future<void> seastar::future<void>::then_impl_nrvo<seastar::httpd::connection::read_one()::$_0, seastar::future<void> >(seastar::httpd::connection::read_one()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&)::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&) const::'lambda'()>(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&&) at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1984
 (inlined by) seastar::future<void> seastar::future<void>::then_impl_nrvo<seastar::httpd::connection::read_one()::$_0, seastar::future<void> >(seastar::httpd::connection::read_one()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&)::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&) const at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:1451
 (inlined by) seastar::continuation<seastar::internal::promise_base_with_type<void>, seastar::httpd::connection::read_one()::$_0, seastar::future<void> seastar::future<void>::then_impl_nrvo<seastar::httpd::connection::read_one()::$_0, seastar::future<void> >(seastar::httpd::connection::read_one()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type<void>&&, seastar::httpd::connection::read_one()::$_0&, seastar::future_state<seastar::internal::monostate>&&), void>::run_and_dispose() at /v/build/v_deps_build/seastar-prefix/src/seastar/include/seastar/core/future.hh:742
{tmp/libexec/redpanda} 0x6c7700f: seastar::reactor::run_tasks(seastar::reactor::task_queue&) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/reactor.cc:2557
 (inlined by) seastar::reactor::run_some_tasks() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/reactor.cc:3020
{tmp/libexec/redpanda} 0x6c7a527: seastar::reactor::do_run() at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/reactor.cc:3189
{tmp/libexec/redpanda} 0x6cd3495: seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2::operator()() const at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/reactor.cc:4399
 (inlined by) decltype(std::declval<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2&>()()) std::__1::__invoke[abi:v160004]<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2&>(seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2&) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:394
 (inlined by) void std::__1::__invoke_void_return_wrapper<void, true>::__call<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2&>(seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2&) at /vectorized/llvm/bin/../include/c++/v1/__functional/invoke.h:487
 (inlined by) std::__1::__function::__alloc_func<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2, std::__1::allocator<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2>, void ()>::operator()[abi:v160004]() at /vectorized/llvm/bin/../include/c++/v1/__functional/function.h:185
 (inlined by) std::__1::__function::__func<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2, std::__1::allocator<seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::$_2>, void ()>::operator()() at /vectorized/llvm/bin/../include/c++/v1/__functional/function.h:356
{tmp/libexec/redpanda} 0x6c060ff: std::__1::__function::__value_func<void ()>::operator()[abi:v160004]() const at /vectorized/llvm/bin/../include/c++/v1/__functional/function.h:510
 (inlined by) std::__1::function<void ()>::operator()() const at /vectorized/llvm/bin/../include/c++/v1/__functional/function.h:1156
 (inlined by) seastar::posix_thread::start_routine(void*) at /v/build/v_deps_build/seastar-prefix/src/seastar/src/core/posix.cc:73
{/opt/redpanda/lib/libc.so.6} 0x91016: ?? at ??:0
{/opt/redpanda/lib/libc.so.6} 0x1166cf: ?? at ??:0

@piyushredpanda piyushredpanda added area/kafka sev/medium Bugs that do not meet criteria for high or critical, but are more severe than low. labels Jun 24, 2023
@dotnwat
Copy link
Member

dotnwat commented Jun 24, 2023

this one is interesting. the vector that is constructed in the admin server grows too large as a function of the number of partitions. however, if we replace it with a fragmented vector we still have the problem that seastar's json handling wants a vector to construct a json list. and even if we solved that problem, would we face the a challenge related to the size of what would ostensibly be a very large string being constructed some where?

@dotnwat
Copy link
Member

dotnwat commented Jun 24, 2023

the bandaid solution here is to probably manually construct the json output and hope it either isn't too large or doesn't get linearized somewhere.

other options beyond addressing the root limitations?

@BenPope BenPope self-assigned this Jun 28, 2023
BenPope added a commit to BenPope/redpanda that referenced this issue Jun 30, 2023
Avoid oversized allocation by:
* Collecting summaries into a fragmented_vector
* Streaming the vector to an output_stream

Thge overload of `ss::json::json_return_type` that provides an
`ss::output_stream` requires a `std::function`, which is required to
be copyable, so wrap the `fragmented_vector` in a simple container
wrapper that holds the container by `ss::lw_shared_ptr`.

Fixes redpanda-data#11674

Signed-off-by: Ben Pope <[email protected]>
BenPope added a commit to BenPope/redpanda that referenced this issue Jun 30, 2023
Avoid oversized allocation by:
* Collecting summaries into a fragmented_vector
* Streaming the vector to an output_stream

Thge overload of `ss::json::json_return_type` that provides an
`ss::output_stream` requires a `std::function`, which is required to
be copyable, so wrap the `fragmented_vector` in a simple container
wrapper that holds the container by `ss::lw_shared_ptr`.

Another optimisation is moving rather than copying during accumulation.

Fixes redpanda-data#11674

Signed-off-by: Ben Pope <[email protected]>
BenPope added a commit to BenPope/redpanda that referenced this issue Jun 30, 2023
Avoid oversized allocation by:
* Collecting summaries into a fragmented_vector
* Streaming the vector to an output_stream

The overload of `ss::json::json_return_type` that provides an
`ss::output_stream` requires a `std::function`, which is required to
be copyable, so wrap the `fragmented_vector` in a simple container
wrapper that holds the container by `ss::lw_shared_ptr`.

Another optimisation is moving rather than copying during accumulation.

Fixes redpanda-data#11674

Signed-off-by: Ben Pope <[email protected]>
BenPope added a commit to BenPope/redpanda that referenced this issue Jul 6, 2023
Avoid oversized allocation by:
* Collecting summaries into a fragmented_vector
* Streaming the vector to an output_stream

The overload of `ss::json::json_return_type` that provides an
`ss::output_stream` requires a `std::function`, which is required to
be copyable, so wrap the `fragmented_vector` in a simple container
wrapper that holds the container by `ss::lw_shared_ptr`.

Another optimisation is moving rather than copying during accumulation.

Fixes redpanda-data#11674

Signed-off-by: Ben Pope <[email protected]>
(cherry picked from commit d32b250)

Conflicts:
	src/v/redpanda/admin_server.cc

Due to 2cc38ee

I took the opportunity to extract `reduce` and reuse it.
BenPope added a commit to BenPope/redpanda that referenced this issue Jul 6, 2023
Avoid oversized allocation by:
* Collecting summaries into a fragmented_vector
* Streaming the vector to an output_stream

The overload of `ss::json::json_return_type` that provides an
`ss::output_stream` requires a `std::function`, which is required to
be copyable, so wrap the `fragmented_vector` in a simple container
wrapper that holds the container by `ss::lw_shared_ptr`.

Another optimisation is moving rather than copying during accumulation.

Fixes redpanda-data#11674

Signed-off-by: Ben Pope <[email protected]>
(cherry picked from commit d32b250)

Conflicts:
	src/v/redpanda/admin_server.cc

Due to 2cc38ee

I took the opportunity to extract `reduce` and reuse it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kafka area/oversized-allocation kind/bug Something isn't working sev/medium Bugs that do not meet criteria for high or critical, but are more severe than low.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants