We're getting an odd error when attempting to set flags with our Redis which is hosted on Elasticache using the aws_elasticache_serverless_cache mode.
iex(super_api@ip-10-0-32-236)1> FunWithFlags.UI.Utils.create_flag_with_name("use_aws_for_phone_verification")
{:error,
"Redis Error: one of the commands failed: [\"OK\", \"QUEUED\", \"QUEUED\", %Redix.Error{message: \"CROSSSLOT Keys in request don't hash to the same slot\"}]"}
We're getting an odd error when attempting to set flags with our Redis which is hosted on Elasticache using the
aws_elasticache_serverless_cachemode.This appears to be related to the code here:
https://github.com/tompave/fun_with_flags/blob/master/lib/fun_with_flags/store/persistent/redis.ex#L48-L53
Any thoughts on how to approach a fix? 🙂