Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30201

Fix Chronicle files cleanup on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10, 2021.x, 11.x
    • Component/s: Streams
    • Tags:
    • Backlog priority:
      300

      Description

      NXP-27976 has fixed the problem for 9.10 but 10.10 brings a new version if Chronicle and the problem has reappeared.

      WARN [main] [org.nuxeo.lib.stream.log.chronicle.ChronicleRetentionListener] Unable to delete Chronicle file: C:\nuxeo-server-10.10-tomcat\nxserver\data\stream\bulk\command\P-01\20200922.cq4, C:\nuxeo-server-10.10-tomcat\nxserver\data\stream\bulk\command\P-01\20200922.cq4: The process cannot access the file 'file path' because it is being used by another process
      

      While debugging, there seems to be a recursive issue : the "Store#release" method triggers a listener which calls the "Store#release" method again, and it may be the cause of the "file being used by another process"

      See attached screenshot

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: