danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Validate the SET, MSET, SETRANGE and similar refuse to create empty keys #199

Closed danielealbano closed 2 years ago

danielealbano commented 2 years ago

From some initial testing, looks like SET accept empty keys, which shouldn't be allowed.

The various function that SET values must be reviewed to ensure that this is prevented.

Also, it's necessary to analyze Redis behaviour to match the error messages and/or the operations carried out.