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

#3865 followup for fix performance degression introduced by switching order of merge operands #4284

Conversation

azagrebin
Copy link
Contributor

@azagrebin azagrebin commented Aug 17, 2018

Followup for #4266. There is one more place in get_context.cc where MergeOperator::ShouldMerge should be called with reversed list of operands.

…witching order of operands between calls of MergeContext.PushOperand and MergeOperator.ShouldMerge(MergeContext.GetOperands()): one more place in get_context.cc
@azagrebin
Copy link
Contributor Author

cc @sagar0 @ajkr

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@sagar0 sagar0 changed the title #3865 followup for fix performance degression introduced by switching order of operands #3865 followup for fix performance degression introduced by switching order of merge operands Aug 17, 2018
riversand963 pushed a commit to riversand963/rocksdb that referenced this pull request Aug 21, 2018
…witching order of operands (facebook#4284)

Summary:
Followup for facebook#4266. There is one more place in **get_context.cc** where **MergeOperator::ShouldMerge** should be called with reversed list of operands.
Pull Request resolved: facebook#4284

Differential Revision: D9380008

Pulled By: sagar0

fbshipit-source-id: 70ec26e607e5b88465e1acbdcd6c6171bd76b9f2
riversand963 pushed a commit to riversand963/rocksdb that referenced this pull request Aug 22, 2018
…witching order of operands (facebook#4284)

Summary:
Followup for facebook#4266. There is one more place in **get_context.cc** where **MergeOperator::ShouldMerge** should be called with reversed list of operands.
Pull Request resolved: facebook#4284

Differential Revision: D9380008

Pulled By: sagar0

fbshipit-source-id: 70ec26e607e5b88465e1acbdcd6c6171bd76b9f2
rcane pushed a commit to rcane/rocksdb that referenced this pull request Sep 13, 2018
…witching order of operands (facebook#4284)

Summary:
Followup for facebook#4266. There is one more place in **get_context.cc** where **MergeOperator::ShouldMerge** should be called with reversed list of operands.
Pull Request resolved: facebook#4284

Differential Revision: D9380008

Pulled By: sagar0

fbshipit-source-id: 70ec26e607e5b88465e1acbdcd6c6171bd76b9f2
This pull request was closed.
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.

3 participants