GrailsFlow

It's not possible to kill Process

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.12
  • Fix Version/s: 1.0.12
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Please Select
  • External Supervisor:
    Please select
  • Executing Programmer:
    Antonicheva, July
  • Ext Project Id:
    JCGFW-01

Description

WE can not kill process in case of Node is executed. If user click to 'Kill' link in Process List He will wait till Node will not be finished.
It's unusable for cases when execution of Node takes a lot of time. For example Node takes 2 days, and during this 2 days user can not kill process.

It seems that by some reason Process is locked, till Node is not finished and we can not kill process because can not go into synchronize section:

public boolean killProcess(Long processID, String user) {
     synchronized (lock) {
 ...
}

Activity

Hide
Antonicheva, July added a comment - 22/Mar/12 10:17 AM

Please check changes on version grailsflow-demo-1.0.12.2-SNAPSHOT.war

Show
Antonicheva, July added a comment - 22/Mar/12 10:17 AM Please check changes on version grailsflow-demo-1.0.12.2-SNAPSHOT.war
Hide
Shwedovsky, Dmitry added a comment - 02/Apr/12 11:25 AM

Checked.
Now it is possible to Kill process when running Node wasn't finished (in status Running).

Show
Shwedovsky, Dmitry added a comment - 02/Apr/12 11:25 AM Checked. Now it is possible to Kill process when running Node wasn't finished (in status Running).

People

Vote (0)
Watch (0)

Dates

  • Created:
    14/Mar/12 1:29 PM
    Updated:
    02/Apr/12 2:54 PM
    Resolved:
    02/Apr/12 2:54 PM