You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valkey allows to load both Valkey modules (e.g.: valkey-bloom) and Redis modules (e.g.: redisbloom).
But some modules report the same name in INFO (E.g. valkey-bloom and redisbloom both report as bf. Same for valkey-search and redisearch which both report as search) So it's hard for clients to distinguish between them.
Is there a way to reliably detect which module was loaded?
MODULE LIST additionally reports the .so name, but that might get modified along the way.
More context:
I'm trying to add Bloom filter support to redis-rs. There, in CI, different versions of Valkey/Redis servers run using different modules. Hence, the tests need to check if a Bloom filter module is present in a supported version or skip. But as valkey-bloom and redisbloom report the same name but obviously use different version numbering, it's tricky to check reliably.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Valkey allows to load both Valkey modules (e.g.: valkey-bloom) and Redis modules (e.g.: redisbloom).
But some modules report the same
nameinINFO(E.g.valkey-bloomandredisbloomboth report asbf. Same forvalkey-searchandredisearchwhich both report assearch) So it's hard for clients to distinguish between them.Is there a way to reliably detect which module was loaded?
MODULE LISTadditionally reports the.soname, but that might get modified along the way.More context:
I'm trying to add Bloom filter support to redis-rs. There, in CI, different versions of Valkey/Redis servers run using different modules. Hence, the tests need to check if a Bloom filter module is present in a supported version or skip. But as
valkey-bloomandredisbloomreport the same name but obviously use different version numbering, it's tricky to check reliably.All reactions