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

key rename not working #764

Open
itsandiproy opened this issue Jan 21, 2025 · 3 comments
Open

key rename not working #764

itsandiproy opened this issue Jan 21, 2025 · 3 comments

Comments

@itsandiproy
Copy link

We are using tile38 version "1.34.0" in docker container environent.
While renaming a key getting error "(error) key has hooks set"
.-----------------
127.0.0.1:19851> rename a a1
(error) key has hooks set

This is same for all other key also

@tidwall
Copy link
Owner

tidwall commented Jan 22, 2025

Do you have any hooks watching on that key?
The hooks * command will show all the hooks.

@itsandiproy
Copy link
Author

No hooks are present

--
127.0.0.1:19851> hooks *
{"ok":true,"hooks":[],"elapsed":"20.158µs"}
127.0.0.1:19851> rename b b1
(error) key has hooks set

@tidwall
Copy link
Owner

tidwall commented Jan 22, 2025

How about channels? This may cause the same error.

chans *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants