Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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