dble
dble copied to clipboard
make stress when dble is starting, server resource is exhaust, and client hangs
Raised by: @FlyingMao Steps:
- Prepare a vm with 4-core
- Start dble
- Sysbench 100-threads test with following lua:
function event(thread_id)
local table_name
local a=sb_rand(1, oltp_table_size-1)
local b=a+1
table_name = "sbtest".. sb_rand_uniform(1, oltp_tables_count)
rs = db_query("SELECT max(pad) from " .. table_name .. " where id between " .. a .. " and " ..b)
end
- Found:
- dble use up to 400% cpu
- sysbench hang