Serge Huber created UNOMI-954:
---------------------------------
Summary: Make Camel route refresh resilient to transient failures
and fix ProfileImportActorsIT flakiness
Key: UNOMI-954
URL: https://issues.apache.org/jira/browse/UNOMI-954
Project: Apache Unomi
Issue Type: Sub-task
Components: unomi(-core)
Affects Versions: unomi-3.1.0
Reporter: Serge Huber
Assignee: Serge Huber
Fix For: unomi-3.1.0
When a user saves an import or export configuration, Unomi should automatically
start processing it. Sometimes this silently fails, leaving the import or
export inactive with no error shown to the user. The only way to recover is to
restart the server or save the configuration again.
This problem also causes the `ProfileImportActorsIT` test to fail randomly in
CI, making the test results unreliable.
**Technical details:**
When a configuration is saved, it is added to an internal queue. A background
timer reads this queue every second and tries to create a Camel route for each
entry. If route creation fails for any reason (for example, a timing issue when
reading from Elasticsearch), the entry is already removed from the queue before
the failure happens. There is no retry and no error visible to the user.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)