Redis session regression in 3.1.6 |
The fix in this PR has caused some weird issues for us: https://github.com/bcit-ci/CodeIgniter/pull/5170
The session library is autoloaded and we're using the Redis session driver. With that patch we do not get the "error trying to free lock" issue we had before, but now we see the error in the attached screenshot occur regularly. All of our end points are calling session_write_close immediately or after the last set_userdata call. It seems to happen more often in areas where we send frequent concurrent AJAX calls. This is the contents of MY_Session.php. There's only one method and it's simply to follow the session libraries naming convention: PHP Code: <?php if ( !defined( 'BASEPATH' ) ) exit( 'No direct script access allowed' ); If I revert the change in that PR the error in the screenshot disappears. Any idea what's going on? |
Welcome Guest, Not a member yet? Register Sign In |