-
Revision 9: Switch to RMap with manual expiry for Valkey compatibility
发布于
2026-06-11 17:20:35 +00:00 RMapCacheNative per-field TTL (HEXPIRE) is a no-op on Redis <7.4 and Valkey <9.0,
causing locks to never expire. RMapCache Lua struct scripts crash on Valkey.Switch to plain RMap with expiry timestamp embedded in value (permitId:expiryMs).
Expired entries filtered on read and lazily cleaned via fastRemove.
Semaphore remains for atomic capacity locking (unchanged).下载附件