Skip to content

Conversation

FlorentinD
Copy link
Contributor

allow to explicitly pass it.
This is important if the original Aura instance id not part of the uri. Such as for multi-db support

ref GDSA-283

Copy link

netlify bot commented Sep 18, 2025

Deploy Preview for neo4j-graph-data-science-client canceled.

Name Link
🔨 Latest commit e52a088
🔍 Latest deploy log https://app.netlify.com/projects/neo4j-graph-data-science-client/deploys/68cc2b8bce1da60008089177

- `GraphDataScience::run_query` now supports setting the `mode` of the query to be used for routing. Previously queries would always route the leader of the cluster, assuming write mode.
- `GraphDataScience::run_query` now support setting `retryable` to enable a retry-mechanism for appropriate errors. This requires `neo4j>=5.5.0`.

- `GDsSessions.get_or_create` now allows to specify the `aura_instance_id`. This is required if the instance id could not be derived from the provided database connection URI.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

make sure its part of the 1.18 release

allow to explicitly pass it.
This is important if the original Aura instance id not part of the uri. Such as for multi-db support

ref GDSA-283
@FlorentinD FlorentinD force-pushed the gds-session-override-instance-id branch from 38a229e to e52a088 Compare September 18, 2025 15:55
@FlorentinD
Copy link
Contributor Author

this override, is only important temporarily while the feature is still in EA.
in the future the instance id will be part of the uri again.

having this as a fallback option still seems like a good idea to me. thinking of the case where the customer has the original uri hidden. could be also a very rare use-case though. especially, would the user know instance_id?

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.

1 participant