This PR attempts to address the "LOADING Redis is loading the dataset in memory" error first reported in https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/pull/134 - that PR seems to not work fully as intended as an exception is thrown instead of false returned when this error occurs - perhaps this was changed long ago in an older version of Redis.
Also, when master incurs a LOADING error (e.g. as could happen briefly in case there was a failover mid-request) it will wait one time for one second and make a second attempt to hopefully reduce the impact of the LOADING error while not putting the server in jeopardy for a longer wait time.
This PR attempts to address the "LOADING Redis is loading the dataset in memory" error first reported in https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/pull/134 - that PR seems to not work fully as intended as an exception is thrown instead of
false
returned when this error occurs - perhaps this was changed long ago in an older version of Redis.Also, when master incurs a
LOADING
error (e.g. as could happen briefly in case there was a failover mid-request) it will wait one time for one second and make a second attempt to hopefully reduce the impact of theLOADING
error while not putting the server in jeopardy for a longer wait time.