Description
Since upgrading to 2.3, I am now receiving occasional errors where a session record insert is failing because of a duplicate primary key. I have narrowed down the stack trace to the PDOSessionHandler's read() function.
It seems that the session ID doesn't exist at the initial SELECT statement, but does exist by the time the INSERT is attempted. This isn't happening with all users -- only a select few. Could this be because of simultaneous requests being submitted?
I can't seem to figure out any explanation for how this could happen. It seems that the record is being created between the SELECT and INSERT statements. Perhaps this issue always existed, but the addition of the PDO exceptions is now exposing it.
Any suggestions or information is appreciated. Thank you!