Skip to content
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

Add documentation for script-show #143

Merged
merged 9 commits into from
Jul 14, 2024
Merged

Conversation

kukey
Copy link
Contributor

@kukey kukey commented Jun 16, 2024

Docs for valkey-io/valkey#617

Change-Id: I9213aa113bcbf1337ac25e8f0540155e25eb1d05

Copy link
Member

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the file to script-show.

topics/eval-intro.md Outdated Show resolved Hide resolved
commands/script-dump.md Outdated Show resolved Hide resolved
commands/script-dump.md Outdated Show resolved Hide resolved
commands/script-dump.md Outdated Show resolved Hide resolved
commands/script-dump.md Outdated Show resolved Hide resolved
madolson added a commit to valkey-io/valkey that referenced this pull request Jun 19, 2024
In some scenarios, the business may not be able to find the
previously used Lua script and only have a SHA signature.
Or there are multiple identical evalsha's args in monitor/slowlog,
and admin is not able to distinguish the script body.

Add a new script subcommmand to show the contents of script
given the scripts sha1. Returns a NOSCRIPT error if the script
is not present in the cache.

Usage: `SCRIPT SHOW sha1`
Complexity: `O(1)`

Closes #604.
Doc PR: valkey-io/valkey-doc#143

---------

Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
@zuiderkwast
Copy link
Contributor

@kukey Can you update this PR to SCRIPT SHOW?

@kukey
Copy link
Contributor Author

kukey commented Jul 13, 2024

@kukey Can you update this PR to SCRIPT SHOW?

OK

kukey and others added 6 commits July 13, 2024 08:17
Change-Id: I9213aa113bcbf1337ac25e8f0540155e25eb1d05
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Change-Id: Id6bfa9dd83006a6217134eb1ac1d1acd7ece7f96
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: kukey <wei.kukey@gmail.com>
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Co-authored-by: Wen Hui <wen.hui.ware@gmail.com>
Signed-off-by: kukey <wei.kukey@gmail.com>
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Co-authored-by: Wen Hui <wen.hui.ware@gmail.com>
Signed-off-by: kukey <wei.kukey@gmail.com>
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Change-Id: Id894398da2d6ab907196a0db754e6202ee1481ff
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Signed-off-by: kukey <wei.kukey@gmail.com>
Change-Id: I983b3c823e0cc87af0779458f832db9147ff0a7e
Signed-off-by: wei.kukey <wei.kukey@gmail.com>
Copy link
Member

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor wording improvements I'll apply.

commands/script-show.md Outdated Show resolved Hide resolved
commands/script-show.md Outdated Show resolved Hide resolved
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
@madolson madolson merged commit 39b4250 into valkey-io:main Jul 14, 2024
2 checks passed
@zuiderkwast
Copy link
Contributor

The title is still wrong and the committed message...

@madolson madolson changed the title add script-dump document Add documentation for script-show Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants