3 Commits

Author SHA1 Message Date
venkatamahesh
8cbfd487a8 Fix spellings for two words
Change-Id: I0cd0a5fed4784cb08acc29dc0bddcbc205975e1e
2016-02-03 15:21:50 +05:30
Michal Gershenzon
f93930bcb4 Add releatenote for fix execution saved in wrong tenant
Change-Id: I4443481743e4b74091e2e0aea608b5c872a3da4b
Related-Bug: 1521802
2015-12-16 16:12:40 +00:00
Moshe Elisha
976667c0a2 Fix concurrency issues by using READ_COMMITTED
The state of a workflow execution was not updated even when all task
executions were completed if some tasks finished at the same time as
other tasks.
Because we were using our connections with transaction isolation
level = REPEATABLE_READ - Each process was using a snapshot of the DB
created at the first read statement in that transaction.
When a task finished and evaluated the state of all the other tasks
it did not see the up-to-date state of those tasks - and so, because
not all tasks were completed - the task did not change the workflow
execution state.

Similar behavior happened with multiple action executions under same
task. On completion, each action execution checked the status of the
other action executions and did not see the up-to-date state of these
action execution - causing task execution to stay in RUNNING state.

Change-Id: I12f66134d92b8ed39df9d6128d7de5ee49aa8623
Closes-Bug: #1518012
Closes-Bug: #1513456
2015-12-09 08:01:38 +00:00