-
Notifications
You must be signed in to change notification settings - Fork 128
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 core dumped with current master #152
Comments
Same here, did you solve the problem? Or any one can help? |
But I tried the old version and got my POC data (sorry forgot about the exact version). Not sure whether the current master works... |
@wenhaocs thx for the reply, Do you mean the old version for |
both |
i choose modify dbbench, and dont use its CreateAwsEnv function, instead of my own implemention to open the DBCloud |
When using db_bench in v6.7.3, I encountered the same issue. This issue troubled me for an entire day, but the solution is actually very simple and doesn't require modifying the code. I used My solution is as follows: Export the following three environment variables before the benchmark test: export ROCKSDB_CLOUD_BUCKET_NAME="s3-antio2" # The name of the bucket used by your benchmark
export ROCKSDB_CLOUD_BUCKET_PREFIX="test." # The final bucket used is prefix + name
# export ROCKSDB_CLOUD_BUCKET_PREFIX="" # It is OK to leave prefix empty
export ROCKSDB_CLOUD_OBJECT_PATH="rocksdb/fillrandom" # The path of the database stored in the bucket hope my solution would help you😊 |
Hi, I was trying to run db_bench and test the performance with S3, core dumped at
CreateAwsEnv
:db_bench_tool.cc:1527: rocksdb::Env* CreateAwsEnv(const string&, std::unique_ptr<rocksdb::Env>*): Assertion
st.ok()' failed`Steps to reproduce the behavior
OS: Fedora release 35
GCC: 11.2.1 20211203 (Red Hat 11.2.1-7)
cmake: 3.22.1
aws-sdk-c++: master(1.9.217)
Build aws-sdk-c++:
Build rocksdb-cloud
Run db_bench
./db_bench --env_uri="s3://" --aws_access_id="xxx" --aws_secret_key="xxx" --aws_region="us-west-2" --keep_local_sst_files --benchmarks="fillseq" --db=/data/rocksdb_main --duration=30 --num=10000000
Any lights on the issue? Thanks!
The text was updated successfully, but these errors were encountered: