# Aerospike Server 5.1.0.3 (July 31, 2020)

**URL:** <https://discuss.aerospike.com/t/aerospike-server-5-1-0-3-july-31-2020/7704>\
**Category:** Releases (Server, Client & Tools)\
**Created:** [August 1, 2020, 2:56am UTC](https://discuss.aerospike.com/t/aerospike-server-5-1-0-3-july-31-2020/7704 "2020-08-01T02:56:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcoberly](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/mcoberly/32/637_2.png) [@mcoberly](https://discuss.aerospike.com/u/mcoberly)\
**Post date:** [August 1, 2020, 2:56am UTC](https://discuss.aerospike.com/t/aerospike-server-5-1-0-3-july-31-2020/7704/1 "2020-08-01T02:56:48Z")

</div>

[Aerospike Server version 5.1.0.3](https://www.aerospike.com/download/server/notes.html#5.1.0.3) was released on July 31, 2020.

This major release contains a New Feature, and Improvements.

- Thanks to Matt S. for discovering the issue [CVE-2020-13151](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13151).
  - To address the UDF security vulnerabilities, we are making a few changes on the server:
    - Lua’s io library has been removed, and the os library only retains time-related functions.
    - We will no longer construct/use a sandbox for each invoked record or stream UDF.

- For the info command ‘[latency](https://www.aerospike.com/docs/reference/info/index.html#latency)’ support has been deprecated and will be removed in the next major release.
  - Please use the new replacement info command ‘[latencies](https://www.aerospike.com/docs/reference/info/index.html#latencies)’ to track all latency histograms.

- Before upgrading to 5.0.0.4 or later, customers already running 5.0.0.3 in a cluster which is an active XDR destination (i.e. an XDR destination also acting as a source XDR or that may in the future act as a source XDR), may want to consider stopping all XDR traffic to the cluster. (Enterprise Only)
  - In the unlikely case of an upgraded 5.0.0.4 or newer node going down while 5.0.0.3 nodes are still running, those nodes would mistakenly ship XDR writes even if `forward` has not been explicitly enabled.
  - Enterprise Licensees may contact Aerospike Support for any questions before upgrading.

- Cross-Datacenter Replication (XDR) running in Aerospike Server version 5.0 or newer can only connect to XDR destination clusters running versions 4.1 or newer.
- **All nodes must be upgraded to Aerospike Server version 4.9.0.7 or newer** prior to upgrading to Aerospike Server version 5.0 or newer.
  - Aerospike Server version 5.0 or newer will not form a cluster with version 4.8 nodes or earlier.
  - When upgrading the Aerospike Server refer to the [Special Upgrades](https://www.aerospike.com/docs/operations/upgrade/aerospike/special_upgrades/index.html) documentation.

- The Aerospike Server **will not start** if obsolete configuration parameters are set in the Aerospike configuration file (aerospike.conf).
  - Refer to: [Configuration parameters that must be removed for Aerospike Server version 5.0 or newer](https://www.aerospike.com/docs/operations/upgrade/aerospike/special_upgrades/50_removed_parameters.html)

- **ATTENTION:** As of Aerospike Server version 4.9, expirations and evictions are disabled by default.
  - For expirations, ‘[nsup-period](https://www.aerospike.com/docs/reference/configuration/index.html#nsup-period)’ must be configured (new default is 0).
  - For evictions, the relevant ‘[high-water-disk-pct](https://www.aerospike.com/docs/reference/configuration/index.html#high-water-disk-pct)’/‘[high-water-memory-pct](https://www.aerospike.com/docs/reference/configuration/index.html#high-water-memory-pct)’/‘[mounts-high-water-pct](https://www.aerospike.com/docs/reference/configuration/index.html#mounts-high-water-pct)’ must be configured (new defaults are 0).
  - For details refer to the ‘[Namespace Retention Configuration](https://www.aerospike.com/docs/operations/configure/namespace/retention/index.html)’ documentation.

#### New Features

- Enterprise & Community
  - [AER-6262] - (PACKAGING) Added support for Ubuntu 20, and removed support for Ubuntu 14.

- Enterprise Only
  - [AER-6247] - (SECURITY) Added support for storing various configuration items in Vault.

#### Improvements

- Enterprise & Community
  - [AER-6229] - (KVS) When retransmitting replica writes, recalculate the destination nodes in case they changed due to a rebalance.
  - [AER-6244] - (KVS) Changed default value of ‘[proto-fd-idle-ms](https://www.aerospike.com/docs/reference/configuration/index.html#proto-fd-idle-ms)’ to 0 (i.e. never reap idle connections).
  - [AER-6249] - (KVS) Improved handling of record bins.
  - [AER-6264] - (FABRIC) Added fabric context configuration item ‘[channel-rw-recv-pools](https://www.aerospike.com/docs/reference/configuration/index.html#channel-rw-recv-pools)’ to specify multiple rw channel receive thread pools.
  - [AER-6234] - (STORAGE) Added throttling to prevent defrag from overwhelming the write queue.
  - [AER-6243] - (UDF) Addressed Lua security vulnerabilities by denying access to unsafe Lua library functions.
  - [AER-6257] - (UDF) UDFs unwind correctly on failure.
  - [AER-6265] - (GEO) Use stricter bounds checking for latitude and longitude.
  - [AER-4100] - (STATS) Added service context configuration item ‘[microsecond-histograms](https://www.aerospike.com/docs/reference/configuration/index.html#microsecond-histograms)’ to generate high resolution latency histograms.
  - [AER-6242] - (STATS) Replaced info command ‘[latency](https://www.aerospike.com/docs/reference/info/index.html#latency)’ with new command ‘[latencies](https://www.aerospike.com/docs/reference/info/index.html#latencies)’ to track all latency histograms.

- Enterprise Only
  - [AER-6064] - (SECURITY) Escape problematic characters in the user Distinguished Name (DN) before giving it to the LDAP server.
  - [AER-6252] - (SECURITY) LDAP context configuration item ‘[query-user-password-file](https://www.aerospike.com/docs/reference/configuration/index.html#query-user-password-file)’ is now dynamic and is re-read whenever the password is used.
  - [AER-6253] - (SECURITY) The write privilege now includes permission to run truncate commands.
  - [AER-6255] - (STORAGE) For ‘[storage-engine pmem](https://www.aerospike.com/docs/reference/configuration/index.html#storage-engine)’ namespaces, set default ‘[service-threads](https://www.aerospike.com/docs/reference/configuration/index.html#service-threads)’ to number of CPUs.
  - [AER-6263] - (STORAGE) Keep ‘[storage-engine pmem](https://www.aerospike.com/docs/reference/configuration/index.html#storage-engine)’ data blocks read-only except when they are being filled.
  - [AER-6233] - (XDR) Added DC namespace context configuration item ‘[write-policy](https://www.aerospike.com/docs/reference/configuration/index.html#write-policy)’.
  - [AER-6240] - (XDR) If the SMD-persisted last ship time is missing at startup, ship from the current time.
  - [AER-6241] - (XDR) Added ‘[retry\_no\_node](https://www.aerospike.com/docs/reference/metrics/index.html#retry_no_node)’ stat.
  - [AER-6245] - (XDR) Added DC context configuration item ‘[period-ms](https://www.aerospike.com/docs/reference/configuration/index.html#period-ms)’.
  - [AER-6246] - (XDR) Added DC namespace context configuration item ‘[sc-replication-wait-ms](https://www.aerospike.com/docs/reference/configuration/index.html#sc-replication-wait-ms)’.
  - [AER-6266] - (XDR) Added DC namespace context configuration item ‘[compression-level](https://www.aerospike.com/docs/reference/configuration/index.html#compression-level)’.

#### Updates

- **aerospike-tools** [3.29.0](https://www.aerospike.com/download/tools/3.29.0/)
