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

Restore stuck not doing anything #4

Open
hostingnuggets opened this issue Jul 15, 2021 · 0 comments
Open

Restore stuck not doing anything #4

hostingnuggets opened this issue Jul 15, 2021 · 0 comments

Comments

@hostingnuggets
Copy link

hostingnuggets commented Jul 15, 2021

Hello,

I am trying to restore a dump of a memcached 1.5.22 server. The dump works perfectly but the restore just gets stuck and does nothing as you can see below:

$ ./memcached-util --addr 10.0.0.101:11211 --op "restore" --filename "mem_backup.json"
2021-07-15T15:18:28.516256 main ▶ INFO 001 address 10.0.0.101:11211
2021-07-15T15:18:29.206551 restoreCache ▶ WARNING 002 Key  already expired, skipping ..

On the server side with verbose mode in memcached enabled I see the following:

Jul 15 15:18:28 server systemd-memcached-wrapper[705468]: <27 new auto-negotiating client connection
Jul 15 15:18:29 server systemd-memcached-wrapper[705468]: 27: Client using the ascii protocol
Jul 15 15:18:29 server systemd-memcached-wrapper[705468]: <27 set  0 -553 0
Jul 15 15:18:29 server systemd-memcached-wrapper[705468]: >27 ERROR
Jul 15 15:18:29 server systemd-memcached-wrapper[705468]: <27
Jul 15 15:18:29 server systemd-memcached-wrapper[705468]: >27 ERROR

The backup itself seem to have worked correctly:

2021-07-15T15:03:33.822166 main ▶ INFO 001 address 127.0.0.1:11211
2021-07-15T15:03:34.351171 backupCache ▶ INFO 002 87676 values found in the storage
2021-07-15T15:03:38.374375 backupCache ▶ INFO 003 Output file successfully generated at: mem_backup.json

Any idea what's wrong?

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

1 participant