this is a follow up of EZP-23870

      If two processes were started at the same time and if they read the same expiry.php, the process which will be ended last will overwrite the changes of the earlier process.

      User A is updating the user cache
      User B is moving a tree

      Both processes read the same expiry.

      Process A writes the user-info-cache key
      Process B writes the view cache key and the template block key

      Process B is reverting the changes of Process A because the expiry.php isn't reloaded before it's written.

      a) Reload the expiry.php before it's written
      b) Only update the changed keys and only update the keys if they are older than the current one.

      The first solution will be only reloading the expiry.php before it's written.

      The longtime solution should be: Doing a "expiry.php" queue like the async. So, every update request should be written in a db table and a daemon is updating the expiry.php every x seconds - if there are changes.

      Best wishes,

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          2d 20h 39m 1 19/Jan/15 12:04 PM
          Confirmed Confirmed InputQ InputQ
          40m 28s 1 Paulo Lopes (Inactive) 19/Jan/15 12:45 PM
          InputQ InputQ Development Development
          4h 23m 1 Gunnstein Lye 19/Jan/15 5:08 PM
          Development Development Development Review Development Review
          20h 46m 1 Gunnstein Lye 20/Jan/15 1:55 PM
          Development Review Development Review Development Review done Development Review done
          5d 21h 38m 1 Gunnstein Lye 26/Jan/15 11:34 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          21m 56s 1 Gunnstein Lye 26/Jan/15 11:56 AM
          Documentation Review done Documentation Review done QA QA
          1d 5h 12m 1 Paulo Nunes 27/Jan/15 5:08 PM
          QA QA Closed Closed
          5d 20h 3m 1 Paulo Nunes 02/Feb/15 1:12 PM
          Closed Closed Reopened Reopened
          63d 2h 44m 1 Paulo Nunes 06/Apr/15 4:56 PM
          Reopened Reopened Closed Closed
          16s 1 Paulo Nunes 06/Apr/15 4:56 PM


            • Assignee:
              Georg Franz
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created:

                Time Tracking

                Original Estimate - Not Specified
                Not Specified
                Remaining Estimate - 0 minutes
                Time Spent - 6 hours, 30 minutes
                6h 30m