The problem/use-case that the feature addresses
update zset member score if score meet some condition,just like the sql db update condition.
now we must do this in lua script:
local score = redis.call('zscore',keys[1],argv[1])
if argv[2]>score then
redis.call('zscore', keys[1], argv[3])
end
Now redis 'zadd' command has INCR and GT option. But we can not do this:
redis.call('zadd', keys[1], GT,argv[2], 'INCR', argv[3], argv[1] )
'INCR' would be reconginzed as zset member.
Description of the feature
give zset more rich option.