-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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 GetMergeOperands in ReadOnlyDB and SecondaryDB #13340
Fix GetMergeOperands in ReadOnlyDB and SecondaryDB #13340
Conversation
2457b1b
to
248bdc5
Compare
@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
ASSERT_OK(Merge("k6", "better")); | ||
ASSERT_OK(Merge("k6", "call")); | ||
ASSERT_OK(Merge("k6", "saul")); |
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.
LOL 😂
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.
Thanks for the fix!
fc23ade
to
887660c
Compare
@jaykorean has updated the pull request. You must reimport the pull request before landing. |
@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
887660c
to
bf27c8b
Compare
@jaykorean has updated the pull request. You must reimport the pull request before landing. |
@jaykorean has imported this pull request. If you are a Meta 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.
I am not familiar with this part of the codebase, so just have a minor nit
db/db_secondary_test.cc
Outdated
|
||
auto cfh = db_secondary_->DefaultColumnFamily(); | ||
|
||
// s.IsMergeInProgress() |
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.
nit: I assume we want to g rid of this commented out line
@jaykorean has updated the pull request. You must reimport the pull request before landing. |
@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@jaykorean merged this pull request in 2e0dc21. |
Summary
Fixing the GetMergeOperands() in ReadOnlyDB and SecondaryDB as reported in #13243. Refactor in #11799 introduced this regression.
Follow ups to come
GetMergeOperands()
results #10458 ) for ReadOnlyDB and SecondaryDBGetImpl()
. The only difference is between acquiring/referencing Superversion.Test Plan
DBMergeOperandTest
andDBSecondaryTest
updated