Welcome Guest, Not a member yet? Register   Sign In
redis driver _get_lock set lock_key problem

(10-21-2017, 05:51 AM)helot Wrote: Hi,

i went deeper and deeper into the redis driver handling (in CI 3.1.6.).
Why is it necessary to acquire a lock on read (Line 171 in libraries/Session/drivers/Session_redis_driver.php)?
In my opinion this line of code produces 99 % of all redis errors because the session is locked from the beginning of the first read until at least a session_write_close() call... -> locks are only needed for writing purposes, am i right?

Thank you Smile

Were you able to conclude anything regarding this issue? I'm having exactly the same problem and wondering whether you found a solution?

Messages In This Thread
RE: redis driver _get_lock set lock_key problem - by jimpannell - 09-11-2018, 01:15 AM

Theme © iAndrew 2016 - Forum software by © MyBB