Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Customer request
    • Component/s: Legacy stack
    • Labels:
      None

      Description

      (with DFS configured) During the cache purge, called by example via php bin/php/ezcache.php --clear-all --purge command, the _purgeByLike method is called (https://github.com/ezsystems/ezpublish-legacy-ee/blob/5.4/kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php#L337). This method deletes file metadata in the transaction, however, it also deletes the physical file regardless of the transaction result: https://github.com/ezsystems/ezpublish-legacy-ee/blob/5.4/kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php#L393. If the transaction fails, this causes the content view cache to NOT be regenerated correctly (because the metadata for the cache file still exists) and instead the blank page is displayed.

        Activity

        Gunnstein Lye created issue -
        Gunnstein Lye made changes -
        Field Original Value New Value
        Fix Version/s Customer request [ 11018 ]
        Gunnstein Lye made changes -
        Component/s Legacy stack [ 13341 ]
        Gunnstein Lye made changes -
        Description (with DFS configured) During the cache purge, called by example via {{php bin/php/ezcache.php --clear-all --purge}} command, the {{_purgeByLike}} method is called (https://github.com/ezsystems/ezpublish-legacy-ee/blob/5.4/kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php#L337). This method deletes file metadata in the transaction, however, it also deletes the physical file regardless of the transaction result: https://github.com/ezsystems/ezpublish-legacy-ee/blob/5.4/kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php#L393. If the transaction fails, this causes the content view cache to NOT be regenerated correctly (because the metadata for the cache file still exists) and instead the blank page is displayed.
        Hide
        Gunnstein Lye added a comment - - edited
        Show
        Gunnstein Lye added a comment - - edited PR: https://github.com/ezsystems/ezpublish-legacy/pull/1380 (obsolete) Specific PR for the sub-task: https://github.com/ezsystems/ezpublish-legacy/pull/1400
        Gunnstein Lye logged work - 12/Nov/18 10:00 AM
        • Time Spent:
          4 hours
           

          .

        Gunnstein Lye made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
        Gunnstein Lye made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 4 hours [ 14400 ]
        Worklog Id 68824 [ 68824 ]
        Gunnstein Lye logged work - 13/Nov/18 1:00 PM
        • Time Spent:
          5 hours
           

          .

        Gunnstein Lye made changes -
        Time Spent 4 hours [ 14400 ] 1 day, 1 hour [ 32400 ]
        Worklog Id 68831 [ 68831 ]
        Gunnstein Lye logged work - 14/Nov/18 3:00 PM
        • Time Spent:
          2 hours
           

          .

        Gunnstein Lye made changes -
        Time Spent 1 day, 1 hour [ 32400 ] 1 day, 3 hours [ 39600 ]
        Worklog Id 68833 [ 68833 ]
        Gunnstein Lye logged work - 16/Nov/18 3:30 PM
        • Time Spent:
          30 minutes
           

          .

        Gunnstein Lye made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Gunnstein Lye made changes -
        Time Spent 1 day, 3 hours [ 39600 ] 1 day, 3 hours, 30 minutes [ 41400 ]
        Worklog Id 68842 [ 68842 ]
        Gunnstein Lye made changes -
        Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
        Status Development Review [ 10006 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        InputQ InputQ Development Development
        3d 58m 1 Gunnstein Lye 12/Nov/18 5:27 PM
        Development Development Development Review Development Review
        3d 23h 2m 1 Gunnstein Lye 16/Nov/18 4:30 PM
        Development Review Development Review Closed Closed
        90d 21h 22m 1 Gunnstein Lye 15/Feb/19 1:52 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Gunnstein Lye
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 3 hours, 30 minutes
              1d 3h 30m