setOK thread still running even after stopping the worker
Opened this issue · 0 comments
I stopped the worker (i.e. the redisWorker
function) using the STOP button in Rgui. But the setOK thread is apparently still running in the background:
redisKeys("*")
[1] "jobs:2.alive.4"
redisTTL("jobs:2.alive.4")
[1] 4
redisTTL("jobs:2.alive.4")
[1] 3
redisTTL("jobs:2.alive.4")
[1] 2
redisTTL("jobs:2.alive.4")
[1] 5
Even starting a new worker (in the session where the previous worker was stopped) won't fix the situation:
redisWorker('jobs', redis_server)
Even this sequence (on the master) won't fix the situation:
removeQueue('jobs')
registerDoRedis('jobs', redis_server)
The only working "fix" is to close the whole R session (Rgui) that caused the problem.
This issue potentially might contribute (I say might as I am not sure at all) to unpredictable issues #14 and #15.
I use R 3.1.0, doRedis 1.1.1, rredis 1.6.9 and redis server 2.6.12, all on a single host Windows XP.