-
Notifications
You must be signed in to change notification settings - Fork 61
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
Importing the data ERROR #18
Comments
Hi @linydquantil , I m assuming 1.resp is db1 and 2.resp is db2? |
Could you actually give a shot at reporting against redis-cli? It looks like it might have its own timeouts... a file with garbage content that would allow to reproduce this would be super useful. |
One simpler thing we could try is set the Zset in multiple small commands rather than a single large one. Still this is unusual :( |
right, 1.resp is db1 and 2.resp is db2
The size of this key is larger than that of 200MB. |
@mpartio do you have any idea? |
I tracked down a similar problem but I didn't find the root cause. I think it is somehow related to redis itself, not redis-dump-go. When the file-to-be-imported was sufficiently large, the import just crashed. |
I will consider writing an improvement to import large zsets/maps in multiple commands 🙇 |
Alright I'm able to reproduce https://github.com/yannh/redis-dump-go/compare/integration-tests?expand=1
|
Released v0.5.0 - long commands are now broken down into batches to avoid errors during imports. |
this is my test result, the tool version: 0.5.0
|
how to get redis-dump-go version? Maybe it needs to support functions like this: ./redis-dump-go --version. |
Yes, that would be nice, thanks for the suggestion :) Might work on this at some point, would also accept a patch! |
@yannh i found the same error when the redis version is 6.2.5
can you help me check it ? |
Hi @linydquantil , I found this bug https://forums.servicestack.net/t/protocol-error-invalid-multibulk-length/4595 ? I am not sure this is related to redis-dump-go? |
redis version: 5.0.4
redis-dump: 0.4.6
redis dump success
but import data error:
The text was updated successfully, but these errors were encountered: