Materia KV: new hash, string and TTL commands
Materia KV: new hash, string and TTL commands
Materia KV adds six new commands to its Redis-compatible layer, expanding hash, string and time to live (TTL) management capabilities:
HEXISTS: check if a field exists in a hashHSETNX: set a hash field only if it doesn’t already existHINCRBY: increment the integer value of a hash fieldGETDEL: atomically get a string value and delete its keyEXPIREAT: set key expiration using an absolute Unix timestamp in secondsPEXPIREAT: 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

