You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update descriptions of the initial. settings (#2587) (#2634)
Improve the descriptions of the `initial..` settings to emphasize that
they occur only in two cases:
- When a DBMS is created (at the first DBMS startup)
- When a server is enabled (when you add a new server to the existing
cluster)
a|Automatically enables servers that are in the `FREE` state - not only during the initial DBMS startup but also whenever a new server joins the cluster.
a|The initial default number of primary servers for the standard databases. If the user does not specify the number of primaries in `CREATE DATABASE`, this value will be used unless overwritten by the `dbms.setDefaultAllocationNumbers` procedure.
794
+
a|The initial default number of primaries for the standard databases. Initialized at the first DBMS startup. If the user does not specify the number of primaries in `CREATE DATABASE`, this value will be used unless overwritten by the `dbms.setDefaultAllocationNumbers` procedure.
795
795
|Valid values
796
796
a|An integer that is minimum `1` and is maximum `11`.
a|The initial default number of secondary servers for standard databases. If the user does not specify the number of secondaries in `CREATE DATABASE`, this value will be used unless overwritten by the `dbms.setDefaultAllocationNumbers` procedure.
810
+
a|The initial default number of secondaries for the standard databases. Initialized at the first DBMS startup. If the user does not specify the number of secondaries in `CREATE DATABASE`, this value will be used unless overwritten by the `dbms.setDefaultAllocationNumbers` procedure.
811
811
|Valid values
812
812
a|An integer that is minimum `0` and is maximum `20`.
a|Names of the databases allowed on this server; all others are denied. Empty means all are allowed. This configuration can be overridden when enabling the server or altered at runtime without changing this setting. Exclusive with `server.initial_denied_databases`.
826
+
a|List of database names allowed on this server; all others are denied. Empty means all are allowed. This configuration is initialized at the first DBMS startup and/or when a newly added server is enabled. The setting is used as the default input for the `ENABLE SERVER` command; can be overriden when the command is executed. Exclusive with `server.initial_denied_databases`.
827
827
|Valid values
828
828
a|A comma-separated set where each element is a valid database name containing only alphabetic characters, numbers, dots, and dashes with a length between 3 and 63 characters, starting with an alphabetic character or number but not with the name `system`.
a|Names of the databases not allowed on this server. Empty means nothing is denied. This configuration can be overridden when enabling the server or altered at runtime without changing this setting. Exclusive with `server.initial_allowed_databases`.
842
+
a|List of database names not allowed on this server. Empty means nothing is denied. This configuration is initialized at the first DBMS startup and/or when a newly added server is enabled. The setting is used as the default input for the `ENABLE SERVER` command; can be overriden when the command is executed. Exclusive with `server.initial_allowed_databases`.
843
843
|Valid values
844
844
a|A comma-separated set where each element is a valid database name containing only alphabetic characters, numbers, dots, and dashes with a length between 3 and 63 characters, starting with an alphabetic character or number but not with the name `system`.
a|An server can restrict itself to allow databases to be hosted only as primaries or secondaries. This setting is the default input for the `ENABLE SERVER` command - the user can overwrite it when executing the command.
858
+
a|Determines whether the server is configured to host primary databases only, secondary databases only, or both.
859
+
Initialized at the first DBMS startup and/or when a newly added server is enabled.
860
+
The setting is used as the default input for the `ENABLE SERVER` command; can be overriden when the command is executed.
a|A list of tag names for the server used by the database allocation and when configuring load balancing and replication policies. This setting is the default input for the `ENABLE SERVER` command - the user can overwrite it when executing the command.
876
+
a|A list of server tag names used by the database allocation and when configuring load balancing and replication policies. Initialized at the first DBMS startup and/or when a newly added server is enabled. The setting is used as the default input for the `ENABLE SERVER` command; can be overriden when the command is executed.
875
877
|Valid values
876
878
a|A comma-separated list where each element is a string identifying a server tag, which contains no duplicate items.
877
879
|Default value
@@ -2297,13 +2299,11 @@ The DBMS settings must be consistent across all configuration files in a cluster
NOTE: This setting is not the same as `dbms.default_database`, which was used to set the default database in Neo4j 4.x and earlier versions.
2302
-
2303
-
The `initial.dbms.default_database` setting is meant to set the default database *before* the creation of the DBMS.
2304
-
Once it is created, the setting is not valid anymore.
2302
+
a|Specifies the default database name *before* the first DBMS startup.
2303
+
After the initial default database is created, changing this setting has no effect.
2304
+
To change the default database, use the xref:/clustering/databases.adoc#cluster-default-database[`dbms.setDefaultDatabase()`] procedure instead.
2305
2305
2306
-
To set the default database, use the xref:/clustering/databases.adoc#cluster-default-database[`dbms.setDefaultDatabase()`] procedure instead.
2306
+
NOTE: This setting is not the same as `dbms.default_database`, which was used to set the defaultdatabase in Neo4j 4.x and earlier versions.
2307
2307
|Valid values
2308
2308
a|A valid database name containing only alphabetic characters, numbers, dots, and dashes with a length between 3 and 63 characters, starting with an alphabetic character or number but not with the name system.
0 commit comments