-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add seed restore until section and remove 5.x seed provider info #2002
base: dev
Are you sure you want to change the base?
Conversation
Co-authored-by: NataliaIvakina <[email protected]>
Co-authored-by: NataliaIvakina <[email protected]>
Co-authored-by: NataliaIvakina <[email protected]>
This PR includes documentation updates Updated pages: |
@NataliaIvakina the seed restore functionality/syntax will only be available in Cypher 25 which I believe won't be available until at least 2025.02? In which case how is best to proceed here, delay merging until 2025.02? As a side question do we have to clarify whether each section/functionality/example is compatible with Cypher 25 and/or Cypher 5? |
@jackwaudby, these are very good questions! I didn't know that Cypher 25 will be released later than Neo4j 2025.01. It complicates things. Are you talking about the 'seedRestoreUntil' option? This option will be available only in Cypher 25, won't it? I suppose if a feature is available only in Cypher 25, we have to label it accordingly. |
Neither did I, I only found out yesterday (apparently it could still be later than 2025.01 as well). TBH somebody probably did tell me before but I wasn't listening 😆
Yes, sounds good. Let's wait until 2025.02.
Yes correct, this is not available in Cypher 5. |
@@ -513,26 +513,25 @@ label:new[Introduced in 5.26], the `FileSeedProvider` supports: | |||
|
|||
The `URLConnectionSeedProvider` supports the following: | |||
|
|||
** `file:` label:deprecated[Deprecated in 5.26] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean that support for file
is removed? If so, in which Neo4j and Cypher versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Neo4j 2025.01 file
is supported only with the FileSeedProvider
. This is true for both Cypher 5 and Cypher 25.
@@ -620,8 +605,7 @@ Where `accessKey` and `secretKey` are provided by AWS. | |||
| URI example | |||
|
|||
| `file:` | |||
| `URLConnectionSeedProvider` label:deprecated[Deprecated in 5.26], + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URLConnectionSeedProvider
remains in 2025.01 but only supports http
, ftp
and https
now.
@@ -573,43 +572,29 @@ CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'azb://myStorageAcco | |||
====== | |||
===== | |||
|
|||
[[s3-seed-provider]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same question. Is this option removed? In which Neo4j and Cypher versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Neo4j 2025.01 s3
is supported only with the CloudSeedProvider
. This is true for both Cypher 5 and Cypher 25 running on 2025.01.
However, in theory it would work if a user run Cypher 5 on 2025.01 and used the S3SeedProvider
but it is not the approach we want to encourage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a balancing act to be done here. The S3SeedProvider
still exists in order to support the Cypher 5 usage of it. So it needs to remain in the docs, but be clearly 'Cypher 5 only'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change to the setting description to capture this: https://github.com/neo-technology/neo4j/pull/28957
seedRestoreUntil
option