Conversation
Signed-off-by: Pedro Melo <melo@simplicidade.org>
I'll test a bit later
not sure either
btw there is a great test in R:F https://github.com/shogo82148/Redis-Fast/pull/23/files#diff-1 |
|
also I am thinking maybe it should stop trying after some timeout.. (maybe use reconnect option as timeout?) |
when I restarted redis server (most of time, LOADING error was less frequent). Then I tested fix - yes it works.
https://github.com/antirez/redis/blob/38a5db6c9ac21812e4942d7016e4e58429f9ab09/src/redis.c#L2236
So: OK? note that I have filing that names
|
|
coming back to this issue, it seems that would invalidate the documentation about reconnect: It seems that in most of the case (so not in wait_until_loaded), we want it to croak and not retry. So the code should realize that it's in specific case of wait_until_loaded |
e5ccb43 to
0dfcf02
Compare
An attempt at solving #93.
Not a perfect solution by large, and on top of that I don't have a large enough dataset on my laptop to test this.
Also, not sure about the placement of the "fix", the auth() command is used before-hand, not sure if that command works while LOADING.
Anyway, if someone has large datasets, see if this works for you.