Skip to content

Conversation

@lidavidm
Copy link
Member

What's Changed

Instead of repeatedly trying to access locations which have failed before, cache them and move them to the end of the list of locations to attempt on subsequent accesses. This provides a better user experience for Flight SQL services that return multiple locations in the expectation that the user may not be able to access some of them (but would have a better experience if they are).

Requires #494.

Closes #661.

@github-actions

This comment has been minimized.

@lidavidm lidavidm added the enhancement PRs that add or improve features. label Mar 10, 2025
@lidavidm lidavidm changed the title GH-661: [Flight] JDBC: cache failed locations GH-661: [Flight] JDBC: Cache failed locations Mar 10, 2025
Instead of repeatedly trying to access locations which have failed
before, cache them and move them to the end of the list of
locations to attempt on subsequent accesses.

Fixes apache#661.
@lidavidm lidavidm marked this pull request as ready for review April 8, 2025 07:00
@github-actions github-actions bot added this to the 18.3.0 milestone Apr 8, 2025
@jbonofre jbonofre modified the milestones: 18.3.0, 18.4.0 May 8, 2025
@jbonofre jbonofre modified the milestones: 18.4.0, 18.3.0 May 8, 2025
@jbonofre jbonofre merged commit a956ced into apache:main May 8, 2025
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that add or improve features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flight] JDBC driver: cache failed connection attempts

2 participants