Uncertain if you want to prioritize this bug, but I think it would help optics around compatibility w.r.t Redis 7.
# clone on macOS
docker-compose up -d
# expected:
brew install redis
brew services start redis
redis-benchmark -p 6379
# unexpected result:
redis-benchmark -p 3278
...
Error: Server closed the connection
ProcessMessages threw exception System.ArgumentException: Range of random number does not contain at least one possibility.
at System.Security.Cryptography.RandomNumberGenerator.GetInt32(Int32 fromInclusive, Int32 toExclusive)
at Garnet.server.SetObject.SetPop(Byte* input, Int32 length, SpanByteAndMemory& output) in /source/libs/server/Objects/Set/SetObjectImpl.cs:line 191
at Garnet.server.SetObject.Operate(SpanByte& input, SpanByteAndMemory& output, Int64& sizeChange) in /source/libs/server/Objects/Set/SetObject.cs:line 121
at Garnet.server.StorageSession.RMWObjectStoreOperationWithOutput[TObjectContext](Byte[] key, ArgSlice input, TObjectContext& objectStoreContext, GarnetObjectStoreOutput& outputFooter) in /source/libs/server/Storage/Session/ObjectStore/Common.cs:line 52
at Garnet.server.StorageSession.SetPop[TObjectContext](Byte[] key, ArgSlice input, GarnetObjectStoreOutput& outputFooter, TObjectContext& objectContext) in /source/libs/server/Storage/Session/ObjectStore/SetOps.cs:line 431
at Garnet.server.GarnetApi`2.SetPop(Byte[] key, ArgSlice input, GarnetObjectStoreOutput& outputFooter) in /source/libs/server/API/GarnetApiObjectCommands.cs:line 289
at Garnet.server.RespServerSession.SetPop[TGarnetApi](Int32 count, Byte* ptr, TGarnetApi& storageApi) in /source/libs/server/Resp/Objects/SetCommands.cs:line 392
at Garnet.server.RespServerSession.ProcessArrayCommands[TGarnetApi](TGarnetApi& storageApi) in /source/libs/server/Resp/RespServerSession.cs:line 376
at Garnet.server.RespServerSession.ProcessBasicCommands[TGarnetApi](Byte* ptr, RespCommand cmd, TGarnetApi& storageApi) in /source/libs/server/Resp/RespServerSession.cs:line 327
at Garnet.server.RespServerSession.ProcessMessages() in /source/libs/server/Resp/RespServerSession.cs:line 273
at Garnet.server.RespServerSession.TryConsumeMessages(Byte* reqBuffer, Int32 bytesReceived) in /source/libs/server/Resp/RespServerSession.cs:line 199