[midPoint-git] [Evolveum/midpoint] 2bc083: Stop distribution of non-distributable activities
mederly
noreply at github.com
Thu Apr 7 11:56:53 CEST 2022
Branch: refs/heads/tmp/fixes-after-4.5
Home: https://github.com/Evolveum/midpoint
Commit: 2bc083aca2f39140268c8c837160f23c6a4cf0f6
https://github.com/Evolveum/midpoint/commit/2bc083aca2f39140268c8c837160f23c6a4cf0f6
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-04-07 (Thu, 07 Apr 2022)
Changed paths:
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/ReportDataAggregationActivityRun.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/AbstractCompositeActivityRun.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/IterativeActivityRun.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/LocalActivityRun.java
Log Message:
-----------
Stop distribution of non-distributable activities
This commit introduced safety checks for activities that are known
to fail in multi-workers or multithreaded mode:
- report data aggregation (any parallelism is forbidden),
- any composite activity (multi-workers are forbidden, see the source).
This is an immediate fix for MID-7861.
However, it's not a complete one: we should check for multi-node
distributability _before_ the worker tasks are created, not in the tasks
themselves. Otherwise, the ultimate harm is avoided, but the workers
are already there - and suspended with a fatal error.
More information about the midPoint-svn
mailing list