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
Redis Cluster implements a concept called hash tags that can be used to force certain keys to be stored in the same hash slot. However, during manual resharding, multi-key operations may become unavailable for some time while single-key operations are always available.
Using the @IdFilter one can provide a class that can transform the ID portion of the Redis Key:
Using the
@IdFilter
one can provide a class that can transform the ID portion of the Redis Key:One simple implementation of the
IdentifierFilter
interface is provided as shown aboveIdAsHashTag
:Which adds
{
and}
around the ID portion of the key, int he case above keys will look like:The text was updated successfully, but these errors were encountered: