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

Fix db_bench build break with blob db #2372

Closed
wants to merge 1 commit into from

Conversation

yiwu-arbug
Copy link
Contributor

Summary:
Lite build does not recognize FLAGS_use_blob_db. Fixing it.

Test Plan:
OPT=-DROCKSDB_LITE make all

@facebook-github-bot
Copy link
Contributor

@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@siying siying left a 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?

@yiwu-arbug yiwu-arbug deleted the blob_lite branch May 25, 2017 21:13
@yiwu-arbug
Copy link
Contributor Author

@siying I don't think I put blob into db_stress. If so we should remove it.

yiwu-arbug pushed a commit that referenced this pull request May 30, 2017
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
yiwu-arbug pushed a commit that referenced this pull request Jul 17, 2017
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
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, will fix.

facebook-github-bot pushed a commit that referenced this pull request Jan 9, 2018
Summary:
The macro was added by mistake in #2372
Closes #3343

Differential Revision: D6681356

Pulled By: yiwu-arbug

fbshipit-source-id: 4180172fb0eaef4189c07f219241e0c261c03461
siying pushed a commit that referenced this pull request Jan 11, 2018
Summary:
The macro was added by mistake in #2372
Closes #3343

Differential Revision: D6681356

Pulled By: yiwu-arbug

fbshipit-source-id: 4180172fb0eaef4189c07f219241e0c261c03461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants