Special upgrade to Database 5.0.0
This page describes the major improvements and changes in Aerospike Database 5.0.0.
Database 4.9.0 is required
Before upgrading to Aerospike Database 5.0.0, you must first upgrade to Database 4.9.0, which is a required step-version upgrade that makes important changes in preparation for upgrading to 5.0.0.
For more information about version 4.9.0, see the Release Notes.
Cross-Datacenter Replication (XDR) improvements
The XDR feature has been redesigned for improvements in speed and simplicity.
See the following for complete details on XDR for version 5.0.0:
Change in XDR stanza structure
An important syntactical change in configuration parameters for XDR version 5.0.0 is that the xdr stanza is now simpler and more logical, with parameters in a hierarchy that is clearer than before.
The basic XDR stanzas for pre-version 5.0.0 and for version 5.0.0 are compared below. Only the basic structure is described, without any optional parameters.
enable-xdris not needed.- XDR no longer relies on a digest log.
- IP address and port can be followed by an optional variable reference of a TLS certificate, instead of the
tls-nodeparameter. - The
namespacesub-stanza is nested under thedcsub-stanza, instead of referring to the mainnamespacestanza that used to include the XDR-related configuration.
xdr { enable-xdr true xdr-digestlog-path /opt/aerospike/xdr/digestlog 100G datacenter DC1 { dc-node-address-port xx.xx.xx.xx 3000 tls-node yy.yy.yy.yy tlsname.remote.domain 3010 }}namespace test { enable-xdr true xdr-remote-datacenter DC1 ...}xdr { dc dataCenter1 { node-address-port someIpAdress1 somePort1 someTlsNameDefinition1 namespace someNamespace { ... } } ...}Changes in XDR configuration parameters and metrics
For the list of changes, refer to the parameters and metrics page.
Configuration parameters that must be removed
As of Aerospike Database 5.0.0, the following configuration parameters must be removed from the configuration file.
Service:
auto-dunauto-undunbatch-prioritybatch-retransmitbatch-threadsclib-librarydefrag-queue-escapedefrag-queue-hwmdefrag-queue-lwmdefrag-queue-prioritydump-message-above-sizeenable-benchmarks-svcfabric-workersfb-health-bad-pctfb-health-good-pctfb-health-msg-per-burstfb-health-msg-timeoutgeneration-disablemax-msgs-per-typemigrate-read-prioritymigrate-read-sleepmigrate-rx-lifetime-msmigrate-xmit-hwmmigrate-xmit-lwmmigrate-prioritymigrate-xmit-prioritymigrate-xmit-sleepnsup-auto-hwmnsup-auto-hwm-pctnsup-delete-sleepnsup-max-deletesnsup-queue-escapensup-queue-hwmnsup-queue-lwmnsup-reduce-prioritynsup-reduce-sleepnsup-startup-evictnsup-threadspaxos-max-cluster-sizepaxos-protocolpaxos-recovery-policypaxos-retransmit-periodprole-extra-ttlreplication-fire-and-forgetscan-max-activescan-memoryscan-priorityscan-retransmitscheduler-priorityscheduler-typetransaction-duplicate-threadstrial-account-keyudf-runtime-max-gmemoryudf-runtime-max-memoryuse-queue-per-devicewrite-duplicate-resolution-disable
Network service:
reuse-address
Network info:
enable-fastpath
Namespace:
limit-sizeallow-versionscold-start-evict-ttldemo-read-multiplierdemo-write-multiplierhigh-water-pctlow-water-pctmax-ttlobj-size-hist-maxpartition-tree-lockssi
Storage:
ssdmemory-alldefrag-max-blocksdefrag-periodenable-osyncload-at-startuppersistreadonlysignaturewrite-smoothing-periodwrite-threads
Set:
set-evict-hwm-countset-evict-hwm-pctset-stop-write-countset-stop-write-pct
Sindex:
si-gc-periodsi-gc-max-unitssi-histogramsi-ignore-not-sync
Lua:
system-path