Apache S4
  1. Apache S4
  2. S4-63

onTime() events are not synchronized correctly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Labels:
      None

      Description

      onTime() events are executed by a separate thread and are not synchronized correctly with the rest of events, since ProcessingElement.OnTimerTask's run() method synchronizes on "this" (the thread object) instead of the PE instance.

      1. S4-63-synchronize-onTime-events.patch
        9 kB
        Daniel Gómez Ferro
      2. S4-63-synchronize-onTime-events.patch
        9 kB
        Daniel Gómez Ferro
      3. 0001-Fix-timers-synchronization.patch
        10 kB
        Daniel Gómez Ferro
      4. 0001-Fix-timers-synchronization.patch
        10 kB
        Daniel Gómez Ferro

        Issue Links

          Activity

          Daniel Gómez Ferro created issue -
          Daniel Gómez Ferro made changes -
          Field Original Value New Value
          Attachment S4-63-synchronize-onTime-events.patch [ 12533040 ]
          Daniel Gómez Ferro made changes -
          Link This issue blocks S4-62 [ S4-62 ]
          Matthieu Morel made changes -
          Fix Version/s 0.5 [ 12318653 ]
          Affects Version/s 0.5 [ 12318653 ]
          Daniel Gómez Ferro made changes -
          Attachment S4-63-synchronize-onTime-events.patch [ 12533043 ]
          Daniel Gómez Ferro made changes -
          Attachment 0001-Fix-timers-synchronization.patch [ 12533672 ]
          Daniel Gómez Ferro made changes -
          Attachment 0001-Fix-timers-synchronization.patch [ 12533837 ]
          Matthieu Morel made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Tony Stevenson made changes -
          Workflow jira [ 12708295 ] no-reopen-closed, patch-avail [ 12711348 ]
          Gavin made changes -
          Link This issue blocks S4-62 [ S4-62 ]
          Gavin made changes -
          Link This issue is depended upon by S4-62 [ S4-62 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel Gómez Ferro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development