Redis deletes a key from set

execute smembers follow43007 >:
.
30) 59849
31) (nil)
32) 476
33) 253
.

want to delete the 31st this nil
try:

r-bp12ebfe10b16a04.redis.rds.aliyuncs.com:6379>srem follow43007 nil
(integer) 0
r-bp12ebfe10b16a04.redis.rds.aliyuncs.com:6379>srem follow43007 (nil)
(integer) 0
r-bp12ebfe10b16a04.redis.rds.aliyuncs.com:6379>srem follow43007 null
(integer) 0
r-bp12ebfe10b16a04.redis.rds.aliyuncs.com:6379>srem follow43007 "nil"
(integer) 0

how to delete this nil? -sharp-sharp-sharp topic description

Apr.09,2021

this is the first time I have encountered this problem. How did you set it to nil?

give it a try: srem follow43007 ""

if it doesn't work, read it all and rewrite the key.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c649-2b051.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c649-2b051.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?