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

shards: log to trace on shardedSearcher.Search #866

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

keegancsmith
Copy link
Member

@keegancsmith keegancsmith commented Nov 25, 2024

This logging is useful since we directly call this search (and avoid typeRepoSearcher) when evaluating List calls for type:repo searches. By adding in this logging we can understand the performance of potentially expensive queries here.

Part of https://linear.app/sourcegraph/issue/SPLF-662/root-cause-why-a-not-typerepo-query-was-so-slow-on-zoekt

This logging is useful since we directly call this search (and avoid
typeRepoSearcher) when evaluating List calls for type:repo searches. By
adding in this logging we can understand the performance of potentially
expensive queries here.
@keegancsmith keegancsmith requested review from stefanhengl and a team and removed request for stefanhengl November 25, 2024 14:10
@keegancsmith keegancsmith merged commit 59884de into main Nov 25, 2024
8 checks passed
@keegancsmith keegancsmith deleted the k/more-tracing branch November 25, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants