Skip to content

GH-661: [Flight] JDBC: Cache failed locations - #662

Merged
jbonofre merged 1 commit into
apache:mainfrom
lidavidm:gh-661
May 8, 2025
Merged

GH-661: [Flight] JDBC: Cache failed locations#662
jbonofre merged 1 commit into
apache:mainfrom
lidavidm:gh-661

Conversation

@lidavidm

Copy link
Copy Markdown
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.

@lidavidmlidavidm added the enhancement PRs that add or improve features. label Mar 10, 2025
@lidavidmlidavidm changed the title GH-661: [Flight] JDBC: cache failed locationsGH-661: [Flight] JDBC: Cache failed locationsMar 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.
Fixesapache#661.
@lidavidm
lidavidm marked this pull request as ready for review April 8, 2025 07:00
@github-actionsgithub-actionsBot added this to the 18.3.0 milestone Apr 8, 2025
Comment threadflight/flight-sql-jdbc-core/pom.xml
@jbonofrejbonofre modified the milestones: 18.3.0, 18.4.0May 8, 2025
@jbonofrejbonofre modified the milestones: 18.4.0, 18.3.0May 8, 2025
@jbonofre
jbonofre merged commit a956ced into apache:mainMay 8, 2025
timhurskidremio pushed a commit to timhurskidremio/dremio-arrow-java that referenced this pull request Dec 5, 2025
## 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 apache#494.
Closesapache#661.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementPRs 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

@lidavidm@jbonofre