php-memcached-dev / php-memcached

memcached extension based on libmemcached library
Other
990 stars 323 forks source link

Suspicion of php-memcached bug regarding persistent sessions resulting in rare cases of session mixup #543

Open digirave opened 1 year ago

digirave commented 1 year ago

Hello, When using persistent connections for php sessions with

memcached.sess_persistent = On

and when a large amount of network errors occur we suspect there is a php-memcached bug regarding persistent sessions resulting in rare cases of session mixup. We suspect this is a similar issue that caused ChatGPT sessions in redis to be mixed up, and a similar issue that causes sessions to be mixed up in several redis libraries. Please check reference links and see if such issues can arise in php-memcached and can be fixed.

[Reference links] ChatGPT incident https://openai.com/blog/march-20-chatgpt-outage

Reddison: https://github.com/redisson/redisson/issues/4747 https://github.com/redisson/redisson/issues/4381