diff --git a/table/get_context.cc b/table/get_context.cc index fca16305c..0aa75b607 100644 --- a/table/get_context.cc +++ b/table/get_context.cc @@ -262,7 +262,7 @@ bool GetContext::SaveValue(const ParsedInternalKey& parsed_key, merge_context_->PushOperand(value, false); } if (merge_operator_ != nullptr && - merge_operator_->ShouldMerge(merge_context_->GetOperands())) { + merge_operator_->ShouldMerge(merge_context_->GetOperandsDirectionBackward())) { state_ = kFound; if (LIKELY(pinnable_val_ != nullptr)) { Status merge_status = MergeHelper::TimedFullMerge(