Replies: 2 comments
-
Great! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closed due to above PR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problems:
I found that when using
BloomFilter
we can't use replica.Because
BITFIELD
iswrite
category command.we can't simply change to
BITFIELD
toBITFIELD_RO
. becauseBITFIELD_RO
supports from 6.0.0 version. change narrow down supported redis version to userueidisprob
.Event if we change
BITFIELD
command toBITFIELD_RO
, it is difficult to use replica. Because we always useEVAL
andEVALSHA
command to read & write. For example if we useSendToReplicas
option for read-write splitting, we can't easily configureSendToReplicas
due to hard to distinguish read & write commands.Solution
Adding
we add options to constructor like this
So if
enableReadOperation
is true, we useBITFIELD_RO
,EVAL_RO
,EVALSHA_RO
.Considering
I don't want to change minimum version of
rueidisprob.BloomFilter
to 6.0.0 or 7.0.0Beta Was this translation helpful? Give feedback.
All reactions