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

Trace MultiGet Keys and CF_IDs to the trace file #8421

Closed
wants to merge 2 commits into from

Conversation

zhichao-cao
Copy link
Contributor

Tracing the MultiGet information including timestamp, keys, and CF_IDs to the trace file for analyzing and replay.

test plan: make check, add test to trace_analyzer_test

@facebook-github-bot
Copy link
Contributor

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

@@ -1880,6 +1880,16 @@ std::vector<Status> DBImpl::MultiGet(
}
#endif // NDEBUG

if (tracer_) {
Copy link
Contributor

Choose a reason for hiding this comment

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

There are a few different MultiGet overloaded APIs. We should trace all of them.

@facebook-github-bot
Copy link
Contributor

@zhichao-cao has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@anand1976 anand1976 left a comment

Choose a reason for hiding this comment

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

LGTM! Can you update the test to also call the other 2 MultiGet APIs?

@zhichao-cao
Copy link
Contributor Author

LGTM! Can you update the test to also call the other 2 MultiGet APIs?

Sure, will update soon.

@facebook-github-bot
Copy link
Contributor

@zhichao-cao has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@zhichao-cao merged this pull request in 82a70e1.

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

3 participants