-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Fix db_bench build break with blob db #2372
Conversation
@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is good but I thought what was broken was db_stress?
@siying I don't think I put blob into db_stress. If so we should remove it. |
Summary: Lite build does not recognize FLAGS_use_blob_db. Fixing it. Closes #2372 Reviewed By: anirbanr-fb Differential Revision: D5130773 Pulled By: yiwu-arbug fbshipit-source-id: 43131d9d0be5811f2129af562be72cca26369cb3
Summary: Lite build does not recognize FLAGS_use_blob_db. Fixing it. Closes #2372 Reviewed By: anirbanr-fb Differential Revision: D5130773 Pulled By: yiwu-arbug fbshipit-source-id: 43131d9d0be5811f2129af562be72cca26369cb3
@@ -3472,8 +3483,10 @@ void VerifyDBFromDB(std::string& truth_db_name) { | |||
} | |||
} | |||
} | |||
if (!FLAGS_use_blob_db) { | |||
if (!use_blob_db_) { | |||
#ifndef ROCKSDB_LITE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a bug to me. Now db_bench doesn't insert anything with LITE.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, will fix.
Summary:
Lite build does not recognize FLAGS_use_blob_db. Fixing it.
Test Plan:
OPT=-DROCKSDB_LITE make all