Skip to content

Commit

Permalink
Further deprecations to options in CREATE DATABASE (#1083)
Browse files Browse the repository at this point in the history
* Deprecate seedCredentials and seedConfig options without a (language)
replacement.
* Deprecate standard and high_limit store formats

- [x] Still waiting on information from cluster as to how to do seeding
from buckets now.


Depends on: neo4j/docs-operations#1909

---------

Co-authored-by: Therese Magnusson <[email protected]>
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent d30abc0 commit 24f592c
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,30 @@ a|
The column `propertyTypes` currently returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/{page-version}/procedures/#procedure_db_schema_nodetypeproperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/{page-version}/procedures/#procedure_db_schema_reltypeproperties[`db.schema.relTypeProperties()`] produces a list of strings representing the potential Java types for a given property.
In an upcoming major release of Neo4j, this will be updated to represent the possible Cypher types for that property instead.
For all available Cypher types, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms].

a|
label:functionality[]
label:deprecated[]
[source, cypher, role="noheader"]
----
CREATE DATABASE db OPTIONS { seedCredentials: ..., seedConfig: ... }
----
| The `CREATE DATABASE` option `seedCredentials` has been deprecated.
For seeding from cloud storage, it is recommended to use `CloudSeedProvider` which will read cloud credentials and configuration from standard locations.
For further information, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/clustering/databases/#cloud-seed-provider[Managing databases in a cluster -> CloudSeedProvider].

a|
label:functionality[]
label:deprecated[]
[source, cypher, role="noheader"]
----
CREATE DATABASE db OPTIONS { storeFormat: 'standard' }
CREATE DATABASE db OPTIONS { storeFormat: 'high_limit' }
----
| The `standard` and `high_limit` store formats have been deprecated.
Creating databases with these formats is therefore also deprecated.
For more information on the deprecation of these formats, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats/#format-deprecations[Store formats -> Format deprecations].
|===


Expand Down

0 comments on commit 24f592c

Please sign in to comment.