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

x-engine run db_bench coredump #15

Open
BaronStack opened this issue Dec 31, 2021 · 1 comment
Open

x-engine run db_bench coredump #15

BaronStack opened this issue Dec 31, 2021 · 1 comment

Comments

@BaronStack
Copy link

I want to run the x-engine db_bench alone.

BUILD

git clone https://github.com/ApsaraDB/galaxyengine.git
cd galaxyengine/storage/xengine/core
sh build.sh -t release -g asan

RUN

./db_bench - coredump

xengine::tools::Benchmark::OpenDb (this=this@entry=0x7fffffffca70, options=..., db_name=..., db=db@entry=0x7fffffffcaa8) at /media/ssd2/zhanghuigui/galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:4035
4035            db->cfh.push_back(dbimpl->DefaultColumnFamily());
Missing separate debuginfos, use: debuginfo-install libaio-0.3.109-13.el7.x86_64 libgcc-4.8.5-39.el7.x86_64
(gdb) bt
#0  xengine::tools::Benchmark::OpenDb (this=this@entry=0x7fffffffca70, options=..., db_name=..., db=db@entry=0x7fffffffcaa8) at /galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:4035
#1  0x0000000000655699 in xengine::tools::Benchmark::InitializeOptionsGeneral (this=this@entry=0x7fffffffca70, opts=opts@entry=0x7fffffffcb68)
    at /galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:3967
#2  0x0000000000656c49 in xengine::tools::Benchmark::Open (opts=0x7fffffffcb68, this=0x7fffffffca70) at /galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:3987
#3  xengine::tools::Benchmark::Run (this=this@entry=0x7fffffffca70) at /galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:2932
#4  0x00000000006252b9 in xengine::tools::db_bench_tool (argc=<optimized out>, argv=<optimized out>) at /galaxyengine/storage/xengine/core/tools/db_bench_tool.cc:7773
#5  0x00007ffff6945c05 in __libc_start_main () from /lib64/libc.so.6
#6  0x00000000005f595e in _start ()
@luckywhu
Copy link
Collaborator

luckywhu commented Jan 4, 2022

please use pt_beilou.sh to run the demo benchmark
We will fix this problem later。

xiewajueji pushed a commit that referenced this issue May 5, 2024
Move functionality for retrieveing table statistics into its own file.
Add function comments and make function less dependent on other parts of
the ndbcluster plugin.
- remove unnecessary NdbRecord argument, instead use tables
  default NdbRecord which is enough since there are no real columns
  in the scan.
- return NdbError to caller for further error handling

This also fixes a problem where the error code of each retried
temporary error was pushed as warning, resulting in 100 warnings
for the failing queries in ndb_transaction_memory_shortage_dbacc.test

Change-Id: Icf0a53378101cc661506a20a8ad27501e66e4305
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants