databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.87k stars 751 forks source link

chore(query): spilt binary symbol #16861

Open zhang2014 opened 5 days ago

zhang2014 commented 5 days ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

chore(query): spilt binary symbol

Tests

Type of change


This change isโ€‚Reviewable

zhang2014 commented 15 hours ago
~$ sudo dpkg -i databend_1.2.661.nightly_x86_64.deb 
(Reading database ... 110744 files and directories currently installed.)
Preparing to unpack databend_1.2.661.nightly_x86_64.deb ...
Unpacking databend (1.2.661~nightly) over (1.2.661~nightly) ...
Setting up databend (1.2.661~nightly) ...
systemd-journal:x:999:databend

$ sudo RUST_BACKTRACE=1 /usr/bin/databend-query
Databend Query start failure, cause: InvalidConfig. Code: 2002, Text = Please set your meta endpoints config: endpoints = [<your-meta-service-endpoints>].

   0: <unknown>@53b3029
   1: <unknown>@53b2fb2
   2: <unknown>@5359f2e
   3: <unknown>@53914d0
   4: <unknown>@9ca9d56
   5: <unknown>@9d6986a
   6: <unknown>@9ce6ecc
   7: <unknown>@9cf9b17
   8: <unknown>@9cd10c4
   9: <unknown>@9d1ef52
  10: <unknown>@9d4442f
  11: <unknown>@9d56cf4
  12: <unknown>@9d700df
  13: <unknown>@9d7ae90
  14: <unknown>@9d70b78
  15: <unknown>@b640993
  16: <unknown>@9d704cc
  17: <unknown>@2a1ca
  18: <unknown>@2a28b
  19: <unknown>@41e202a
  20: <unknown>

~$ sudo dpkg -i databend_1.2.661.nightly_x86_64_dbg.deb 
Selecting previously unselected package databend_dbg.
(Reading database ... 110755 files and directories currently installed.)
Preparing to unpack databend_1.2.661.nightly_x86_64_dbg.deb ...
Unpacking databend_dbg (1.2.661~nightly) ...
Setting up databend_dbg (1.2.661~nightly) ...

~$ sudo RUST_BACKTRACE=1 /usr/bin/databend-query 
Databend Query start failure, cause: InvalidConfig. Code: 2002, Text = Please set your meta endpoints config: endpoints = [<your-meta-service-endpoints>].

   0: backtrace::backtrace::libunwind::trace[inlined]
             at /opt/rust/cargo/git/checkouts/backtrace-rs-fb1f822361417489-shallow/72265be/src/backtrace/libunwind.rs:116:5
   1: backtrace::backtrace::trace_unsynchronized[inlined]
             at /opt/rust/cargo/git/checkouts/backtrace-rs-fb1f822361417489-shallow/72265be/src/backtrace/mod.rs:66:5
   2: databend_common_exception::exception_backtrace::StackTrace::capture_frames[inlined]
             at /workspace/src/common/exception/src/exception_backtrace.rs:252:13
   3: databend_common_exception::exception_backtrace::StackTrace::capture@53b3029
             at /workspace/src/common/exception/src/exception_backtrace.rs:167:9
   4: databend_common_exception::exception_backtrace::capture@53b2fb2
             at /workspace/src/common/exception/src/exception_backtrace.rs:64:17
   5: databend_common_exception::exception_code::<impl databend_common_exception::exception::ErrorCode>::InvalidConfig@5359f2e
             at /workspace/src/common/exception/src/exception_code.rs:35:30
   6: databend_common_config::inner::MetaConfig::check_valid@53914d0
             at /workspace/src/query/config/src/inner.rs:0:0
   7: databend_common_config::inner::InnerConfig::load::{{closure}}[inlined]
             at /workspace/src/query/config/src/inner.rs:92:13
   8: databend_query::main_entrypoint::{{closure}}[inlined]
             at /workspace/src/binaries/query/ee_main.rs:67:49
   9: <core::pin::Pin<P> as core::future::future::Future>::poll[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/core/src/future/future.rs:123:9
  10: futures_util::future::future::FutureExt::poll_unpin@9ca9d56
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/future/mod.rs:558:9
  11: <databend_common_base::runtime::catch_unwind::CatchUnwindFuture<F> as core::future::future::Future>::poll::{{closure}}[inlined]
             at /workspace/src/common/base/src/runtime/catch_unwind.rs:75:36
  12: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/core/src/panic/unwind_safe.rs:272:9
  13: std::panicking::try::do_call[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:553:40
  14: std::panicking::try[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:517:19
  15: std::panic::catch_unwind@9d6986a
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panic.rs:350:14
  16: databend_common_base::runtime::catch_unwind::catch_unwind[inlined]
             at /workspace/src/common/base/src/runtime/catch_unwind.rs:47:11
  17: <databend_common_base::runtime::catch_unwind::CatchUnwindFuture<F> as core::future::future::Future>::poll@9ce6ecc
             at /workspace/src/common/base/src/runtime/catch_unwind.rs:75:15
  18: <databend_common_base::runtime::runtime_tracker::TrackingFuture<T> as core::future::future::Future>::poll@9cf9b17
             at /workspace/src/common/base/src/runtime/runtime_tracker.rs:143:9
  19: <async_backtrace::framed::Framed<F> as core::future::future::Future>::poll::{{closure}}[inlined]
             at /opt/rust/cargo/git/checkouts/async-backtrace-9554bf0eaadc9fb8-shallow/dea4553/backtrace/src/framed.rs:49:27
  20: async_backtrace::frame::Frame::in_scope::{{closure}}[inlined]
             at /opt/rust/cargo/git/checkouts/async-backtrace-9554bf0eaadc9fb8-shallow/dea4553/backtrace/src/frame.rs:184:17
  21: std::thread::local::LocalKey<T>::try_with[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/thread/local.rs:283:12
  22: std::thread::local::LocalKey<T>::with@9cd10c4
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/thread/local.rs:260:9
  23: async_backtrace::frame::active_frame::with[inlined]
             at /opt/rust/cargo/git/checkouts/async-backtrace-9554bf0eaadc9fb8-shallow/dea4553/backtrace/src/frame.rs:81:9
  24: async_backtrace::frame::Frame::in_scope[inlined]
             at /opt/rust/cargo/git/checkouts/async-backtrace-9554bf0eaadc9fb8-shallow/dea4553/backtrace/src/frame.rs:180:13
  25: <async_backtrace::framed::Framed<F> as core::future::future::Future>::poll[inlined]
             at /opt/rust/cargo/git/checkouts/async-backtrace-9554bf0eaadc9fb8-shallow/dea4553/backtrace/src/framed.rs:49:9
  26: tokio::runtime::park::CachedParkThread::block_on::{{closure}}[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/park.rs:281:63
  27: tokio::runtime::coop::with_budget[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
  28: tokio::runtime::coop::budget[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
  29: tokio::runtime::park::CachedParkThread::block_on@9d1ef52
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/park.rs:281:31
  30: tokio::runtime::context::blocking::BlockingRegionGuard::block_on[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/blocking.rs:66:9
  31: tokio::runtime::handle::Handle::block_on_inner::{{closure}}[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/handle.rs:327:13
  32: tokio::runtime::context::runtime::enter_runtime@9d4442f
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
  33: tokio::runtime::handle::Handle::block_on_inner[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/handle.rs:326:9
  34: tokio::runtime::handle::Handle::block_on[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/handle.rs:305:13
  35: databend_common_base::runtime::runtime::Runtime::block_on::{{closure}}[inlined]
             at /workspace/src/common/base/src/runtime/runtime.rs:263:13
  36: tokio::runtime::scheduler::multi_thread::worker::block_in_place@9d56cf4
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/multi_thread/worker.rs:457:9
  37: tokio::runtime::scheduler::block_in_place::block_in_place[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/block_in_place.rs:20:5
  38: tokio::task::blocking::block_in_place[inlined]
             at /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/task/blocking.rs:78:9
  39: databend_common_base::runtime::runtime::Runtime::block_on[inlined]
             at /workspace/src/common/base/src/runtime/runtime.rs:262:9
  40: databend_query::main@9d700df
             at /workspace/src/binaries/query/ee_main.rs:56:33
  41: core::ops::function::FnOnce::call_once[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/core/src/ops/function.rs:250:5
  42: std::sys::backtrace::__rust_begin_short_backtrace@9d7ae90
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/sys/backtrace.rs:155:18
  43: std::rt::lang_start::{{closure}}@9d70b78
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/rt.rs:159:18
  44: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/core/src/ops/function.rs:284:13
  45: std::panicking::try::do_call[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:553:40
  46: std::panicking::try[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:517:19
  47: std::panic::catch_unwind[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panic.rs:350:14
  48: std::rt::lang_start_internal::{{closure}}[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/rt.rs:141:48
  49: std::panicking::try::do_call[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:553:40
  50: std::panicking::try[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panicking.rs:517:19
  51: std::panic::catch_unwind[inlined]
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/panic.rs:350:14
  52: std::rt::lang_start_internal@b640993
             at /rustc/cf2df68d1f5e56803c97d91e2b1a9f1c9923c533/library/std/src/rt.rs:141:20
  53: <unknown>@2a1ca
  54: <unknown>@2a28b
  55: <unknown>