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

rgw: rest-bench common/WorkQueue.cc: 54: FAILED assert(_threads.empty()) #5383

Merged
2 commits merged into from Sep 7, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/tools/rest_bench.cc
Expand Up @@ -281,6 +281,11 @@ class RESTDispatcher {
list_bucket_handler.listBucketCallback = list_bucket_callback;

}
~RESTDispatcher()
{
req_wq.drain();
m_tp.stop();
}
void process_context(req_context *ctx);
void get_obj(req_context *ctx);
void put_obj(req_context *ctx);
Expand Down Expand Up @@ -738,10 +743,6 @@ int main(int argc, const char **argv)
}
}

if (bucket.empty()) {
cerr << "rest-bench: bucket not specified" << std::endl;
usage_exit();
}
if (args.empty())
usage_exit();
int operation = 0;
Expand Down