Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22523

Support locking with Memcached SessionHandler

    Details

    • Sprint:
      Castor Core S8

      Description

      The symfony memcache[d] session handlers written in PHP does not implement locking, which can cause issues with certain implementations.

      The Problem is explained here in more detail:
      http://www.leaseweblabs.com/2013/10/symfony2-memcache-session-locking/

      However memcached extension has a php session handler which does support locking so we need to make sure that is what we certify and document for use in Cluster mode.

        Issue Links

          Activity

          Hide
          André Rømcke added a comment - - edited

          Talked to Fabien during Symfony Live NY, and he said there is no custom Native handler needed for memcached specifically, Symfony should be able to understand to use the native handler configured in php.ini by just telling symfony to use NativeSessionStorage (this is fallback, so if no session storage is defined this will be used).

          Can anyone test this? Might be we just need to update doc here!

          Show
          André Rømcke added a comment - - edited Talked to Fabien during Symfony Live NY, and he said there is no custom Native handler needed for memcached specifically, Symfony should be able to understand to use the native handler configured in php.ini by just telling symfony to use NativeSessionStorage (this is fallback, so if no session storage is defined this will be used). Can anyone test this? Might be we just need to update doc here!
          Hide
          André Rømcke added a comment - - edited

          Updated documentation to make it clear how this is configured, it is indeed possible to avoid having to add code here:
          https://doc.ez.no/display/EZP/Session

          Also done some cleanup on related page:
          https://doc.ez.no/display/EZP/Session+configuration

          Show
          André Rømcke added a comment - - edited Updated documentation to make it clear how this is configured, it is indeed possible to avoid having to add code here: https://doc.ez.no/display/EZP/Session Also done some cleanup on related page: https://doc.ez.no/display/EZP/Session+configuration
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao Inacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile