Wutime
Well-known member
I've been testing something with multiple cache implementations and noticed there's perhaps an issue with Xon Redis.
Specifically with deleteMultiple()
If a cache namespace is used, the namespace is NOT prefixed to the keys that are requested for deletion with deleteMultiple(). This results in no keys being deleted.
Key Difference
Native Redis: Automatically applies the namespace to deleteMultiple via normalizeKey
XonRedis: Expects namespaced keys for deleteMultiple, requiring manual prefixing or using delete (which applies getNamespacedId)
I'm just curious if this was intentional or not.
It gets a bit hairy because Xon Redis uses a different namespace mechanism depending on whether a namespace is specified or not.
Specifically with deleteMultiple()
If a cache namespace is used, the namespace is NOT prefixed to the keys that are requested for deletion with deleteMultiple(). This results in no keys being deleted.
Key Difference
Native Redis: Automatically applies the namespace to deleteMultiple via normalizeKey
XonRedis: Expects namespaced keys for deleteMultiple, requiring manual prefixing or using delete (which applies getNamespacedId)
I'm just curious if this was intentional or not.
It gets a bit hairy because Xon Redis uses a different namespace mechanism depending on whether a namespace is specified or not.