Skip to content

Use fixed position keys parameter for MSETEX command#14470

Merged
sundb merged 5 commits intoredis:unstablefrom
sundb:fix-keys-argument
Oct 27, 2025
Merged

Use fixed position keys parameter for MSETEX command#14470
sundb merged 5 commits intoredis:unstablefrom
sundb:fix-keys-argument

Conversation

@sundb
Copy link
Collaborator

@sundb sundb commented 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.

@minchopaskal
Copy link
Collaborator

Why was this change necessary ? Only because of the added complexity in parseExtendedStringArgumentsOrReply ? Did we have any performance degradation ?

@ShooterIT
Copy link
Member

proxy team said the KEYS token that make its position flexible causes proxy extra CPU effort to parse and find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants