sundb
ce5f4ea3a9
Delete empty key if fails after moduleCreateEmptyKey() in module ( #12129 )
...
When `RM_ZsetAdd()`/`RM_ZsetIncrby()`/`RM_StreamAdd()` fails, if a new key happens to
be created using `moduleCreateEmptyKey()`, we should clean up the empty key.
## Test
1) Add new module commands(`zset.add` and `zset.incrby`) to cover `RM_ZsetAdd()`/`RM_ZsetIncrby()`.
2) Add a large-memory test to cover `RM_StreamAdd()`.
2023-05-07 10:13:19 +03:00
..
2023-03-21 10:07:11 -07:00
2023-03-16 14:04:31 +02:00
2022-03-16 08:53:57 +02:00
2023-03-11 10:14:16 +02:00
2023-03-11 10:14:16 +02:00
2022-01-09 17:04:18 -08:00
2023-03-08 10:08:54 +02:00
2023-04-12 09:19:21 +03:00
2023-03-11 10:14:16 +02:00
2023-03-20 08:04:13 +02:00
2021-12-27 21:37:21 +02:00
2023-03-21 10:07:11 -07:00
2020-12-14 11:13:46 +02:00
2022-01-23 10:05:06 +02:00
2022-05-12 20:10:38 +03:00
2022-02-22 11:00:03 +02:00
2022-10-16 09:01:37 +03:00
2022-01-23 10:05:06 +02:00
2022-11-30 11:56:36 +02:00
2022-09-21 08:10:03 +03:00
2022-08-23 12:37:56 +03:00
2022-11-24 19:00:04 +02:00
2022-10-16 09:01:37 +03:00
2022-11-16 20:29:46 +02:00
2022-04-17 08:31:57 +03:00
2023-04-18 16:14:26 +03:00
2023-03-15 15:18:42 -07:00
2023-03-21 10:07:11 -07:00
2022-11-24 19:00:04 +02:00
2023-01-01 23:35:42 +02:00
2022-05-31 08:03:59 +03:00
2023-04-09 12:07:32 +03:00
2023-04-12 10:11:29 +03:00
2022-12-09 17:08:01 +02:00
2023-05-07 10:13:19 +03:00
2022-04-25 13:08:13 +03:00
2021-12-23 00:03:48 +02:00
2023-04-18 16:14:26 +03:00
2022-02-01 14:54:11 +02:00
2023-02-16 08:07:35 +02:00
2023-05-07 10:13:19 +03:00