summaryrefslogtreecommitdiff
path: root/tests/unit/pubsubshard.tcl
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2023-05-07 15:13:19 +0800
committerGitHub <noreply@github.com>2023-05-07 10:13:19 +0300
commitce5f4ea3a9f4afe1c43079c93d0ff6bf6b04597a (patch)
tree7aff01dd477d7c3a66f27148671a339ae51b9668 /tests/unit/pubsubshard.tcl
parentb0dd7b324505ebb3b6fac3f3067eba948cf0b09d (diff)
downloadredis-ce5f4ea3a9f4afe1c43079c93d0ff6bf6b04597a.tar.gz
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()`.
Diffstat (limited to 'tests/unit/pubsubshard.tcl')
0 files changed, 0 insertions, 0 deletions