Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.4
    • Component/s: BPEL Runtime
    • Labels:
      None
    • Environment:
      any

      Description

      In Memory DAO, there is a cleanup strategy, which assigns TTL 10 min. for in-memory instances.
      I works for 1 in-memory process, but for 2 or more, there are cases when it doesn't do cleanup.

      I figured out that cleaning strategy in bpel-runtime/src/main/java/org/apache/ode/bpel/memdao/ProcessDaoImpl.java holds a static _lastRemoval field, which is updated globally. But if there are >1 in-mem processes, it may cause only one to do cleanup.

      A simple patch, which removes static declaration solves problem, because then, cleanup is done separately for each process.

        Activity

        Rafal Rusin created issue -
        Rafal Rusin made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rafal Rusin made changes -
        Attachment memdao-dumper.patch [ 12414343 ]
        Tammo van Lessen made changes -
        Fix Version/s 1.3.4 [ 12314168 ]

          People

          • Assignee:
            Rafal Rusin
            Reporter:
            Rafal Rusin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development