Add MSETEX command by StavRLevi · Pull Request #14434 · redis/redis

minchopaskal

sundb

minchopaskal

sundb

sundb

sundb

sundb

sundb

sundb

sundb

sundb

sundb

- Implement MSETEX command with flexible argument parsing
- Support all expiration flags: EX, PX, EXAT, PXAT, KEEPTTL
- Support condition flags: NX, XX
- Add comprehensive test coverage
- Include proper replication rewriting for relative times

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

@StavRLevi

sundb

sundb

@StavRLevi

@StavRLevi

sundb

@StavRLevi

minchopaskal

This was referenced

Oct 27, 2025

sundb added a commit that referenced this pull request

Oct 27, 2025
In PR #14434, we made the keys
parameter flexible, meaning it could appear anywhere among the command
arguments. However, this also made key parsing more complex, since we
could no longer determine the fixed position of key arguments.
Therefore, in this PR, we reverted it back to using fixed positions for
the keys.

And also fix this
[comment](#14434 (comment)).

---------

Co-authored-by: Yuan Wang <yuan.wang@redis.com>

This was referenced

Oct 29, 2025

This was referenced

Dec 30, 2025

This was referenced

Jan 13, 2026