Changes to configuration settings in Neo4j 4

This section describes all changes and deprecations for the Neo4j configuration settings per version.

Neo4j 4.2

Configuration setting Change Comment

causal_clustering.cluster_allow_reads_on_leader

New

causal_clustering.connect_randomly_to_server_group

New

causal_clustering.kubernetes.cluster_domain

New

causal_clustering.leadership_priority_group

New

dbms.connector.bolt.ocsp_stapling_enabled

New

dbms.directories.cluster_state

New

dbms.directories.script.root

New

dbms.dynamic.setting.allowlist

New

Replacing dbms.dynamic.setting.whitelist

dbms.http_enabled_modules

New

dbms.memory.pagecache.flush.buffer.enabled

New

dbms.memory.pagecache.flush.buffer.size_in_pages

New

dbms.memory.pagecache.warmup.preload.allowlist

New

Replacing dbms.memory.pagecache.warmup.preload.whitelist

dbms.memory.transaction.database_max_size

New

dbms.security.http_auth_allowlist

New

Replacing dbms.security.http_auth_whitelist

dbms.security.procedures.allowlist

New

metrics.csv.rotation.compression

New

metrics.filter

New

metrics.namespaces.enabled

New

metrics.jmx.enabled

Changed

The change is introduced in Neo4j 4.2.2.

dbms.dynamic.setting.whitelist

Deprecated

dbms.memory.pagecache.warmup.preload.whitelist

Deprecated

dbms.security.http_auth_whitelist

Deprecated

dbms.logs.security.rotation.delay

Deprecated

Redundant after replacing the custom logging framework with Log4j.

dbms.logs.user.rotation.delay

Deprecated

Redundant after replacing the custom logging framework with Log4j.

dbms.logs.debug.rotation.delay

Deprecated

Redundant after replacing the custom logging framework with Log4j.

dbms.security.procedures.default_allowed

Deprecated

Replaced by Cypher®: EXECUTE PROCEDURE, EXECUTE BOOSTED PROCEDURE, EXECUTE FUNCTION, and EXECUTE BOOSTED FUNCTION privileges.

dbms.security.procedures.roles

Deprecated

Replaced by Cypher: EXECUTE PROCEDURE, EXECUTE BOOSTED PROCEDURE, EXECUTE FUNCTION, and EXECUTE BOOSTED FUNCTION privileges.

causal_clustering.connect-randomly-to-server-group

Removed

dbms.memory.transaction.datababase_max_size

Removed

Neo4j 4.1

Configuration setting Change Comment

causal_clustering.command_applier_parallelism

New

causal_clustering.election_failure_detection_window

New

causal_clustering.join_catch_up_max_lag

New

causal_clustering.leader_failure_detection_windows

New

causal_clustering.leadership_balancing

New

causal_clustering.log_shipping_retry_timeout

New

causal_clustering.raft_handler_parallelism

New

dbms.allow_single_automatic_upgrade

New

dbms.directories.dumps.root

New

dbms.logs.query.early_raw_logging_enabled

New

dbms.logs.query.parameter_full_entities

New

dbms.memory.off_heap.block_cache_size

New

dbms.memory.off_heap.max_cacheable_block_size

New

dbms.memory.off_heap.max_size

New

dbms.memory.pagecache.directio

New

dbms.memory.pagecache.scan.prefetchers

New

dbms.memory.tracking.enable

New

dbms.memory.transaction.datababase_max_size

New

dbms.memory.transaction.global_max_size

New

dbms.memory.transaction.max_size

New

dbms.reconciler.max_parallelism

New

dbms.routing.advertised_address

New

dbms.routing.driver.api

New

dbms.routing.driver.connection.connect_timeout

New

dbms.routing.driver.connection.max_lifetime

New

dbms.routing.driver.connection.pool.acquisition_timeout

New

dbms.routing.driver.connection.pool.idle_test

New

dbms.routing.driver.connection.pool.max_size

New

dbms.routing.driver.logging.level

New

dbms.routing.enabled

New

dbms.routing.listen_address

New

dbms.upgrade_max_processors

New

metrics.jvm.pause_time.enabled

New

metrics.neo4j.pools.enabled

New

causal_clustering.leader_election_timeout

Deprecated

This setting is moved and enhanced into causal_clustering.leader_failure_detection_window and causal_clustering.election_failure_detection_window.

cypher.query_max_allocations

Removed

dbms.security.property_level.enabled

Removed

dbms.tx_state.max_off_heap_memory

Removed

dbms.tx_state.off_heap.block_cache_size

Removed

dbms.tx_state.off_heap.max_cacheable_block_size

Removed

Neo4j 4.0

Configuration setting Change Comment

causal_clustering.middleware.logging.level

New

causal_clustering.replicated_lease_state_size

New

causal_clustering.replication_leader_await_timeout

New

causal_clustering.status_throughput_window

New

causal_clustering.store_copy_chunk_size

New

cypher.query_max_allocations

New

dbms.backup.listen_address

New

dbms.connector.bolt.unsupported_thread_pool_shutdown_wait_time

New

dbms.default_advertised_address

New

dbms.default_database

New

dbms.default_listen_address

New

dbms.directories.neo4j_home

New

dbms.directories.transaction.logs.root

New

dbms.dynamic.setting.whitelist

New

dbms.max_databases

New

dbms.memory.pagecache.warmup.enable

New

dbms.memory.pagecache.warmup.preload

New

dbms.memory.pagecache.warmup.preload.whitelist

New

dbms.memory.pagecache.warmup.profile.interval

New

dbms.reconciler.max_backoff

New

dbms.reconciler.may_retry

New

dbms.reconciler.min_backoff

New

dbms.recovery.fail_on_missing_files

New

dbms.routing_ttl

New

dbms.security.authorization_providers

New

dbms.security.authentication_providers

New

dbms.security.http_auth_whitelist

New

dbms.transaction.concurrent.maximum

New

dbms.transaction.sampling.percentage

New

dbms.transaction.tracing.level

New

dbms.tx_log.preallocate

New

fabric.database.name

New

fabric.driver.api

New

fabric.driver.connection.connect_timeout

New

fabric.driver.connection.max_lifetime

New

fabric.driver.connection.pool.acquisition_timeout

New

fabric.driver.connection.pool.idle_test

New

fabric.driver.connection.pool.max_size

New

fabric.driver.logging.level

New

fabric.routing.servers

New

fabric.routing.ttl

New

fabric.stream.buffer.low_watermark

New

fabric.stream.buffer.size

New

fabric.stream.concurrency

New

metrics.jmx.enabled

New

metrics.jvm.file.descriptors.enabled

New

metrics.jvm.heap.enabled

New

metrics.neo4j.database_operation_count.enabled

New

metrics.neo4j.data.counts.enabled

New

metrics.neo4j.logs.enabled

New

metrics.neo4j.size.enabled

New

bolt.ssl_policy

Removed

causal_clustering.array_block_id_allocation_size

Removed

causal_clustering.cluster_routing_ttl

Removed

causal_clustering.database

Removed

causal_clustering.disable_middleware_logging

Removed

causal_clustering.expected_core_cluster_size

Removed

causal_clustering.id_alloc_state_size

Removed

causal_clustering.label_token_id_allocation_size

Removed

causal_clustering.label_token_name_id_allocation_size

Removed

causal_clustering.load_balancing.config

Removed

causal_clustering.middleware_logging.level

Removed

causal_clustering.neostore_block_id_allocation_size

Removed

causal_clustering.node_id_allocation_size

Removed

causal_clustering.node_labels_id_allocation_size

Removed

causal_clustering.property_id_allocation_size

Removed

causal_clustering.property_key_token_id_allocation_size

Removed

causal_clustering.property_key_token_name_id_allocation_size

Removed

causal_clustering.read_replica_time_to_live

Removed

causal_clustering.reconnection_backoff

Removed

causal_clustering.relationship_group_id_allocation_size

Removed

causal_clustering.relationship_id_allocation_size

Removed

causal_clustering.relationship_type_token_id_allocation_size

Removed

causal_clustering.relationship_type_token_name_id_allocation_size

Removed

causal_clustering.replicated_lock_token_state_size

Removed

causal_clustering.schema_id_allocation_size

Removed

causal_clustering.ssl_policy

Removed

causal_clustering.string_block_id_allocation_size

Removed

dbms.active_database

Removed

dbms.allow_format_migration

Removed

dbms.backup.address

Removed

dbms.backup.ssl_policy

Removed

dbms.connectors.default_advertised_address

Removed

dbms.connectors.default_listen_address

Removed

dbms.directories.certificates

Removed

dbms.directories.tx_log

Removed

dbms.ids.reuse.types.override

Removed

dbms.index_sampling.buffer_size

Removed

dbms.logs.timezone

Removed

dbms.procedures.kill_query_verbose

Removed

dbms.security.auth_provider

Removed

dbms.security.ha_status_auth_enabled

Removed

dbms.security.http_authorization_classes

Removed

dbms.security.property_level.blacklist

Removed

dbms.ssl.policy.<policyname>.allow_key_generation

Removed

dbms.ssl.policy.<policyname>.base_directory

Removed

dbms.ssl.policy.<policyname>.ciphers

Removed

dbms.ssl.policy.<policyname>.client_auth

Removed

dbms.ssl.policy.<policyname>.private_key

Removed

dbms.ssl.policy.<policyname>.public_certificate

Removed

dbms.ssl.policy.<policyname>.revoked_dir

Removed

dbms.ssl.policy.<policyname>.tls_versions

Removed

dbms.ssl.policy.<policyname>.trust_all

Removed

dbms.ssl.policy.<policyname>.trusted_dir

Removed

dbms.ssl.policy.<policyname>.verify_hostname

Removed

dbms.udc.enabled

Removed

ha.allow_init_cluster

Removed

ha.branched_data_copying_strategy

Removed

ha.branched_data_policy

Removed

ha.broadcast_timeout

Removed

ha.configuration_timeout

Removed

ha.data_chunk_size

Removed

ha.default_timeout

Removed

ha.election_timeout

Removed

ha.heartbeat_interval

Removed

ha.heartbeat_timeout

Removed

ha.host.coordination

Removed

ha.host.data

Removed

ha.initial_hosts

Removed

ha.internal_role_switch_timeout

Removed

ha.join_timeout

Removed

ha.learn_timeout

Removed

ha.leave_timeout

Removed

ha.max_acceptors

Removed

ha.max_channels_per_slave

Removed

ha.paxos_timeoutha.pull_batch_size

Removed

ha.pull_interval

Removed

ha.role_switch_timeout

Removed

ha.server_id

Removed

ha.slave_lock_timeout

Removed

ha.slave_only

Removed

ha.slave_read_timeout

Removed

ha.tx_push_factor

Removed

ha.tx_push_strategy

Removed

https.ssl_policy

Removed

metrics.neo4j.cluster.enabled

Removed

metrics.neo4j.enabled

Removed

metrics.neo4j.logrotation.enabled

Removed

metrics.neo4j.network.enabled

Removed

tools.consistency_checker.check_graph

Removed

tools.consistency_checker.check_indexes

Removed

tools.consistency_checker.check_index_structure

Removed

tools.consistency_checker.check_label_scan_store

Removed

tools.consistency_checker.check_property_owners

Removed

ha.phase1_timeout

Removed

ha.phase2_timeout

Removed

ha.pull_batch_size

Removed

ha.pull_interval

Removed

ha.role_switch_timeout

Removed

ha.server_id

Removed

ha.slave_lock_timeout

Removed

ha.slave_only

Removed

ha.slave_read_timeout

Removed

ha.tx_push_factor

Removed

ha.tx_push_strategy

Removed

https.ssl_policy

Removed

metrics.neo4j.cluster.enabled

Removed

metrics.neo4j.enabled

Removed

metrics.neo4j.logrotation.enabled

Removed

metrics.neo4j.network.enabled

Removed

tools.consistency_checker.check_graph

Removed

tools.consistency_checker.check_indexes

Removed

tools.consistency_checker.check_index_structure

Removed

tools.consistency_checker.check_label_scan_store

Removed

tools.consistency_checker.check_property_owners

Removed