Skip to content

Don't call redis_key.get_value if no flag is given to JSON.SET#1153

Open
chkp-omris wants to merge 1 commit intoRedisJSON:masterfrom
chkp-omris:master
Open

Don't call redis_key.get_value if no flag is given to JSON.SET#1153
chkp-omris wants to merge 1 commit intoRedisJSON:masterfrom
chkp-omris:master

Conversation

@chkp-omris
Copy link

@chkp-omris chkp-omris commented Dec 10, 2023

Noticed I'm having underwhelming performance for JSON.SET and tried digging a bit in the code.
I saw that regardless of whether the user used a NX/XX or not, RedisJSON still calls get_value but it's not used in case that no flags were given to JSON.SET (which is my use case)

MOD-6312

@CLAassistant
Copy link

CLAassistant commented Dec 10, 2023

CLA assistant check
All committers have signed the CLA.

@oshadmi oshadmi added the x:perf label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants