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
{{ message }}
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
Issue Description
With the yaml definition like this:
In
object.go
, it will pass theo.primary.IsRange()
, and createo.ranges
:And then, once we invoke our orm function
addToPipeline
, it will save the range info into redis table:But, we do not need this kind of
range
, we only just need theprimary
mechanism .What 's more worse is that we store the
50%+
redis ranges(spam) into our redis , and they all have no TTL !!!Workarounds
How about add the
norange
flag into our redis column definition ?Columns with
norange
flag will quit the range code generation, and then we can change ourprimary.key.go
into this:The text was updated successfully, but these errors were encountered: