flowable / flowable/flowable-engine
Flow does not continue after FlowableOptimisticLockingException
- Langage dominant
- Java
- Étoiles
- 9.5k
- Forks
- 2.9k
- Merge moyen
- 7 h 8 min
- PR mergées (30 j)
- 2
Description
**Describe the bug**
Given the flow below, we experience a problem with concurrency when executing the “simpleLog” (async) service task in parallel with cardinality = 5, after which the flow does not continue with the “dummy” (exclusive) service task of the next step nor retry the job in “simpleLog”. Instead, we get 4 FlowableOptimisticLockingException.
What could be wrong here? Should flowable retry 3 times after FlowableOptimisticLockingException as we have read here: https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#fail-retry ? Why the flow does not continue?
**Expected behavior**
To be detailed, “simpleLog” only prints some hardcoded string, sleeps 3 seconds (to simulate a real task) and shows another hardcoded string. “dummy” shows another text and “finalLog” shows all global variables.
**Code**
```
5
```
**Additional context**
Flowable version: 6.4.2
Database vendor: Oracle
We are using Flowable with Spring Boot
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le processus parallelServicetask du BPMN fourni avec Flowable 6.4.2, en vous concentrant sur la tâche multi-instance asynchrone et non exclusive simpleLog et sur sa transition vers dummy. Examinez comment les quatre échecs FlowableOptimisticLockingException sont gérés et réessayés ; le travail est terminé lorsque le flux atteint dummy et finalLog ou que l’échec est clairement reproduit avec un test de régression ciblé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, spring-boot
- Domaine
- backend, distributed-systems
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100