Skip to content

BasicClientConnection::queryPathInfo(): Don't throw exception for invalid paths #172

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

Merged
merged 1 commit into from
Aug 10, 2025

Conversation

edolstra
Copy link
Collaborator

Motivation

This caused RemoteStore::queryPathInfoUncached() to mark the connection as invalid (see
RemoteStore::ConnectionHandle::~ConnectionHandle()), causing it to disconnect and reconnect after every lookup of an invalid path. This caused huge slowdowns in conjunction with 19f89eb` and lazy-trees.

Context

…alid paths

This caused RemoteStore::queryPathInfoUncached() to mark the
connection as invalid (see
RemoteStore::ConnectionHandle::~ConnectionHandle()), causing it to
disconnect and reconnect after every lookup of an invalid path. This
caused huge slowdowns in conjunction with
19f89eb and lazy-trees.
Copy link

@github-actions github-actions bot temporarily deployed to pull request August 10, 2025 15:59 Inactive
@edolstra edolstra added this pull request to the merge queue Aug 10, 2025
Merged via the queue into main with commit 4dc22fc Aug 10, 2025
33 checks passed
@edolstra edolstra deleted the queryPathInfo-dont-disconnect branch August 10, 2025 16:35
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