---
title: "Aerospike Database 7.1.0 Release Notes"
description: "Release notes for Aerospike Database 7.1.0, featuring LRU evictions and breaking changes to map key restrictions."
---

# Aerospike Database 7.1.0 Release Notes

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

May 15, 2024  |  **[Download](https://aerospike.com/download/)**

## New in this version

This version implements a variety of feature requests and improvements to enhance performance, usability and reliability.

### New features

-   Adds support for Least Recently Used (LRU) evictions.
-   See the detailed [complete list](#complete-list-of-changes) of all new features.

### Updates

-   Aerospike Tools 11.0.0.
-   See [Platform support and compatibility](https://aerospike.com/docs/database/reference/platform-support) for all currently supported platforms.

## Breaking changes

In Database 7.1.0, map keys are restricted to simple types — integer, string, and blob. If your database was built with an earlier version, use [`asvalidation`](https://aerospike.com/docs/database/tools/asvalidation) 2.0.0 or later to search for map data with invalid map keys, and change your applications and data before you upgrade to 7.1.0.

In 7.1.0 and later, Aerospike Database rejects any write command that uses a map element with a list, map, geospatial, double, or boolean data type as its map key.

## Improvements and enhancements

-   Previously, if a streaming write buffer (SWB) did not fill up before the [`flush-max-ms`](https://aerospike.com/docs/database/reference/config#namespace__flush-max-ms) time (by default 1 second), the partially full SWB would be flushed to a persistent storage device with padding. In order to reduce excess IO in lower throughput situations, the writes that have accumulated are written in [`flush-size`](https://aerospike.com/docs/database/reference/config#namespace__flush-size) units, and appended to the previously written data in the write-block.
-   Partial flushes under the current buffer lock no longer block service threads trying to write to the buffer. Applies to [`storage-engine device`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) and [`storage-engine memory`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) with storage-backed persistence.
-   CPU consumption is reduced for encryption-at-rest, as encryption is done in the flush threads instead of the service or fabric threads.
-   The server now strictly restricts Map keys to one of these data types - integer, string or blob.
-   In Database 7.1.0 (and hotfixed in all 6.x.y.z releases) the client can reserve partitions that are not full for short queries against available and partition tolerant (AP) namespaces. This prevents short queries from timing out completely when the cluster is rebalancing its data after a cluster size change. Following a slow rolling upgrade process (waiting for migrations to complete) reduces the chance of race conditions when short queries may miss records that were just written within the cluster tend interval (by default 1 second). This is not an issue in strong-consistency (SC) namespaces, or in stable AP namespaces.
-   The new query duration policy allows clients to reserve partitions that are not full for long queries running against AP namespaces. This should only be used for long queries that behave like short queries, meaning that they quickly return a very small number of records. By default long queries will behave as before, returning correct results even when AP namespaces are being rebalanced, by deferring queries against migrating partitions until they have completed their migration.
-   In [`storage-engine memory`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) namespaces with no storage backing, the server will not start if [`commit-to-device`](https://aerospike.com/docs/database/reference/config#namespace__commit-to-device) is set to ‘true’.
-   Added namespace configuration items [`indexes-memory-budget`](https://aerospike.com/docs/database/reference/config#namespace__indexes-memory-budget) and [`evict-indexes-memory-pct`](https://aerospike.com/docs/database/reference/config#namespace__evict-indexes-memory-pct) to manage memory usage by all indexes.

## Configuration item changes

| Item | Action | Notes |
| --- | --- | --- |
| `write-block-size` | removed | Use [`flush-size`](https://aerospike.com/docs/database/reference/config#namespace__flush-size) or [`post-write-cache`](https://aerospike.com/docs/database/reference/config#namespace__post-write-cache). |
| `post-write-queue` | removed | Replaced by [`post-write-cache`](https://aerospike.com/docs/database/reference/config#namespace__post-write-cache) |
| [`default-password-file`](https://aerospike.com/docs/database/reference/config#security__default-password-file) | added | Specifies an initial password for the default `admin` user. |
| [`indexes-memory-budget`](https://aerospike.com/docs/database/reference/config#namespace__indexes-memory-budget) | added | When nonzero, triggers stop-writes if the combined RAM indexes’ size (primary, secondary, and set indexes) exceeds the budget. |
| [`evict-indexes-memory-pct`](https://aerospike.com/docs/database/reference/config#namespace__evict-indexes-memory-pct) | added | When nonzero, triggers eviction if [`indexes-memory-budget`](https://aerospike.com/docs/database/reference/config#namespace__indexes-memory-budget) is also configured nonzero, and the combined RAM indexes’ size reaches or exceeds the configured percentage of the budget. |
| [`batch-max-requests`](https://aerospike.com/docs/database/reference/config#service__batch-max-requests) | reintroduced | Limits the number of sub-requests per batch transaction. |
| [`default-read-touch-ttl-pct`](https://aerospike.com/docs/database/reference/config#namespace__default-read-touch-ttl-pct) | added | Allows reads that are within a specified percent of their expiration time to extend the record TTL. Used to support LRU evictions. |
| [`auto-revive`](https://aerospike.com/docs/database/reference/config#namespace__auto-revive) | added | Selectively revives partitions at startup. |
| [`tls-refresh-period`](https://aerospike.com/docs/database/reference/config#service__tls-refresh-period) | added | How often a background thread should check with Secret Agent for new TLS certificates. |
| [`flush-size`](https://aerospike.com/docs/database/reference/config#namespace__flush-size) | added | Specifies the size of storage write units. |
| [`post-write-cache`](https://aerospike.com/docs/database/reference/config#namespace__post-write-cache) | added | Replaces `post-write-queue`. |
| [`storage-engine device`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) | enhanced | Encrypt on flushing to device instead of on writing to buffers. |
| [`max-record-size`](https://aerospike.com/docs/database/reference/config#namespace__max-record-size) | modified | Default value changed to 1MiB. |
| [`storage-engine memory`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) | modified | Changed the minimum allowed value of [`data-size`](https://aerospike.com/docs/database/reference/config#namespace__data-size) to 128M. Applies only to memory namespaces with no backing. |

## Metrics changes

| Item | Action | Description |
| --- | --- | --- |
| [`auto_revived_partitions`](https://aerospike.com/docs/database/reference/metrics#namespace__auto_revived_partitions) | added | Shows the number of partitions automatically revived at startup. |
| [`migrate_fresh_partitions`](https://aerospike.com/docs/database/reference/metrics#namespace__migrate_fresh_partitions) | added | Added for AP. |
| [`read_errors`](https://aerospike.com/docs/database/reference/metrics#namespace__storage-engine.device%5Bix%5D.read_errors) | added | In the per-device stats, tracks read IO errors from the SSD. Relevant only for [`storage-engine device`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) . |
| [`read_touch_tsvc_error`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_tsvc_error) | added | Number of read touches that time out in the internal transaction queue due to an error. (A `read_touch` is a read operation that extends the expiration of a record based on the `read-touch-ttl-pct`.) |
| [`read_touch_tsvc_timeout`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_tsvc_timeout) | added | Number of read touches that time out early in the internal transaction queue, while waiting to be picked up by a service thread. |
| [`read_touch_success`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_success) | added | Number of successful read touches. |
| [`read_touch_error`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_error) | added | Number of read touch errors which were not timeouts. |
| [`read_touch_timeout`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_timeout) | added | Number of touches that ended in timeout. |
| [`read_touch_skip`](https://aerospike.com/docs/database/reference/metrics#namespace__read_touch_skip) | added | How many touches were abandoned because another write (including an earlier touch) has taken place or is taking place, removing the need to proceed with the touch. |
| [`indexes_memory_used_pct`](https://aerospike.com/docs/database/reference/metrics#namespace__indexes_memory_used_pct) | added | Combined RAM indexes’ size as a percentage of when [`indexes-memory-budget`](https://aerospike.com/docs/database/reference/config#namespace__indexes-memory-budget) is configured to nonzero. |
| [`batch-rec-count`](https://aerospike.com/docs/database/observe/latency#auto-enabled-benchmarks) | added | Global logarithmic histogram tracking the number of records per batch request. This histogram is dumped in the ticker - it will appear immediately following the [`batch-index`](https://aerospike.com/docs/database/observe/latency#auto-enabled-benchmarks) latency histogram. |

## Server log changes

| Item | Action | Notes |
| --- | --- | --- |
| [`read-touch`](https://aerospike.com/docs/database/reference/logs/#info__1716404105) | added | Statistics for the read-touch LRU behavior. |
| [`info-command`](https://aerospike.com/docs/database/reference/logs#info-command__1294437470) | added | Logs text of info-command IP address of client. |
| [`bytes-shipped`](https://aerospike.com/docs/database/reference/logs/#info__558909326) | added | XDR ticker log line now has how many shipped to a specific destination. |
| [`read-complete`](https://aerospike.com/docs/database/reference/logs#drv_ssd__241024865) | enhanced | Added UNPARSABLE count. |
| [`expected-migrations`](https://aerospike.com/docs/database/reference/logs#partition__2119455679) | enhanced | Added fresh-partitions to the partition balance log line in SC. |
| NSUP log lines or eviction or stop-writes breaches | enhanced | May now have a new reason: `indexes-memory`. |
| Breached eviction log line | enhanced | May now show a `used-pct: 'NUMBER'` in the `indexes-memory` section if `indexes-memory-budget` is configured nonzero. |

## Tools changes

### Changes in Tools 11.0

See [Tools 11.0.0 Release Notes](https://aerospike.com/docs/database/tools/release-notes#tools-1100).

## Client/server feature compatibility

For a complete list of client features and the server versions that support them, see the [Client Matrix](https://aerospike.com/docs/develop/client-matrix).

### Minimum compatible client versions

For full feature access in Database 7.1.0:

-   Java client 8.1.0
-   Python client 15.0
-   C# client 7.1.0
-   C client 6.6.0
-   Go client 7.2.0
-   Node.js client 5.12
-   PHP 1.0

## Ecosystem compatibility

### Compatible connector versions

-   Trino connector 1.7 or later
-   Spark connector 3.2.2 or later

## Prerequisites and notes

-   For upgrade instructions, refer to [Upgrade or Repair Server](https://aerospike.com/docs/database/install/upgrade)
-   For special upgrade instructions, refer to [Upgrade to Aerospike Database 7.1.0](https://aerospike.com/docs/database/advanced/special-upgrades/710-upgrade)

## Complete list of changes

| ID | Description |
| --- | --- |
| AER-6696 | (ACL) Added security context configuration item [`default-password-file`](https://aerospike.com/docs/database/reference/config#security__default-password-file) to specify an initial password for the default “admin” user. |
| AER-6697 | (STATS) Added some minor stats, and made assorted logging and debugging improvements. |
| AER-6698 | (STORAGE) For [`storage-engine device`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) namespaces with [`encryption`](https://aerospike.com/docs/database/reference/config#namespace__encryption) configured, encrypt on flushing to device instead of on writing to buffers. |
| AER-6699 | (KVS) Introduced policy and configuration to enable reads to occasionally touch a record and extend its life. |
| AER-6703 | (STORAGE) Flush partially filled current buffers to device outside the current buffer lock. |
| AER-6707 | (CDT) Restrict map keys to simple types — integer, string, and blob. |
| AER-6708 | (QUERY) Added a policy to allow long queries in AP namespaces to reserve any partition with data. |
| AER-6710 | (BALANCE) Added [`strong-consistency`](https://aerospike.com/docs/database/reference/config#namespace__strong-consistency) namespace context configuration item [`auto-revive`](https://aerospike.com/docs/database/reference/config#namespace__auto-revive) to selectively revive partitions at startup. |
| AER-6713 | (TLS) Added service context configuration item [`tls-refresh-period`](https://aerospike.com/docs/database/reference/config#service__tls-refresh-period) to support dynamic TLS certificate rotation for all types. |
| AER-6715 | (BATCH) Reintroduced service context configuration item [`batch-max-requests`](https://aerospike.com/docs/database/reference/config#service__batch-max-requests) to limit the number of sub-requests per batch transaction. |
| AER-6716 | (STORAGE) Removed storage context configuration item `write-block-size`. |
| AER-6717 | (STORAGE) Added storage context configuration item [`flush-size`](https://aerospike.com/docs/database/reference/config#namespace__flush-size) to specify the size of large block writes. |
| AER-6718 | (STORAGE) Replaced storage context configuration item [`post-write-queue`](https://aerospike.com/docs/database/reference/config#namespace__post-write-queue) with [`post-write-cache`](https://aerospike.com/docs/database/reference/config#namespace__post-write-cache). |
| AER-6719 | (STORAGE) Changed default value of namespace context configuration item [`max-record-size`](https://aerospike.com/docs/database/reference/config#namespace__max-record-size) to 1MiB. |
| AER-6722 | (STORAGE) For [`storage-engine memory`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) namespaces, changed the minimum allowed value of [`data-size`](https://aerospike.com/docs/database/reference/config#namespace__data-size) to 128M. |
| AER-6729 | (STORAGE) For [`storage-engine memory`](https://aerospike.com/docs/database/reference/config#namespace__storage-engine) namespaces without backing, [`commit-to-device`](https://aerospike.com/docs/database/reference/config#namespace__commit-to-device) is no longer configurable since the behavior is automatic. |
| AER-6730 | (TLS) Support rotating from RSA to ECDSA certificates at runtime. |
| AER-6733 | (KVS) Added namespace context configuration items [`indexes-memory-budget`](https://aerospike.com/docs/database/reference/config#namespace__indexes-memory-budget) and [`evict-indexes-memory-pct`](https://aerospike.com/docs/database/reference/config#namespace__evict-indexes-memory-pct) to manage memory usage by all indexes. |

## Product lifecycle updates

Aerospike provides Maintenance and Support for 2 years (24 months) from its generally available (GA) release. See [Platform support](https://aerospike.com/docs/database/reference/platform-support) for details.

## Known issues

See [Database known issues reference](https://aerospike.com/docs/database/reference/issues?search=7.1.0.0)