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 a bug where GetContext does not update READ_NUM_MERGE_OPERANDS #10925

Closed
wants to merge 4 commits into from

Conversation

ltamasi
Copy link
Contributor

@ltamasi ltamasi commented Nov 7, 2022

Summary:
The patch fixes a bug where GetContext::Merge (and MergeEntity) does not update the ticker READ_NUM_MERGE_OPERANDS because it implicitly uses the default parameter value of update_num_ops_stats=false when calling MergeHelper::TimedFullMerge. Also, to prevent such issues going forward, the PR removes the default parameter values from the TimedFullMerge methods. In addition, it removes an unused/unnecessary parameter from TimedFullMergeWithEntity, and does some cleanup at the call sites of these methods.

Test Plan:
make check

@facebook-github-bot
Copy link
Contributor

@ltamasi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

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