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

db_bench throws an exception when passed an invalid benchmark #7284

Closed
mrambacher opened this issue Aug 19, 2020 · 2 comments
Closed

db_bench throws an exception when passed an invalid benchmark #7284

mrambacher opened this issue Aug 19, 2020 · 2 comments

Comments

@mrambacher
Copy link
Contributor

Expected behavior

I expected an error "no such benchmark"

Actual behavior

Got a stack trace out.

Steps to reproduce the behavior

./db_bench --db=/tmp --use_existing_db=false --benchmarks=fred --compression_type=none

Note that I think this is a regression introduced by a recent change in 6.11 (I do not recall seeing it previously).

@akankshamahajan15
Copy link
Contributor

thanks @mrambacher for raising it. @jay-zhuang Could you take a look? I think it shows data race in Timer called through StatsDumpScheduler.

@akankshamahajan15
Copy link
Contributor

Update: With the latest changes, it shows error in the deletion of unique_ptr Timer.

@jay-zhuang jay-zhuang linked a pull request Aug 20, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants