Skip to content

Transactions don't support expiration commands #1269

Open
@xangelix

Description

@xangelix

Describe the bug

Hopefully this isn't duplicate, but I couldn't find anything that would suggest this is an expected error.

Inside a transaction, it appears some commands related to expiry are not known. This is not an issue on redis, causing my tested migration redis->garnet to fail.

Steps to reproduce the bug

> HSET test ak av bk bv
(integer) 2

> HEXPIREAT test 1750899548 FIELDS 1 ak
1) "1"

> HPTTL test FIELDS 1 ak
1) "24796"

> MULTI
"OK"

> HEXPIREAT test 1750899548 FIELDS 1 bk
"ERR unknown command"

Expected behavior

No response

Screenshots

No response

Release version

Garnet 1.0.73 64 bit; standalone mode

IDE

Redis official CLI
fred (redis rust library)

OS version

Docker Alpine (GitHub repo image)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions