Skip to content
Materia KV: new commands and improved reliability

Materia KV: new commands and improved reliability

Materia KV adds six new commands to its Redis-compatible layer, expanding hash, string and time to live (TTL) management capabilities:

  • GETDEL: atomically get a string value and delete its key
  • HEXISTS: check if a field exists in a hash
  • HSETNX: set a hash field only if it doesn’t already exist
  • HINCRBY: increment the integer value of a hash field
  • EXPIREAT: set key expiration using an absolute Unix timestamp in seconds
  • PEXPIREAT: set key expiration using an absolute Unix timestamp in milliseconds

These commands are available for new and already deployed add-ons, with no additional configuration.

This update also brings reliability improvements to the underlying storage layer.

The SCAN, HSCAN, SSCAN and KEYS commands now produce more accurate results thanks to fixes in the scan boundary logic.

Transactions now enforce retry limits of 5 retries with a 5-second timeout, preventing cascading retries from overwhelming the cluster under heavy contention. Previously, transactions could retry indefinitely on conflict.

Last updated on