[midPoint-git] [Evolveum/midpoint] 6195d9: Remove obsolete items from TaskType
mederly
noreply at github.com
Mon Aug 23 19:18:56 CEST 2021
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 6195d9175492e2e09fe2a13beb0b8962f3da116c
https://github.com/Evolveum/midpoint/commit/6195d9175492e2e09fe2a13beb0b8962f3da116c
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/DefaultColumnUtils.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/TaskThreadsDumper.java
Log Message:
-----------
Remove obsolete items from TaskType
Commit: 40469e99ee9375267307bada66dd57e5a3e5156d
https://github.com/Evolveum/midpoint/commit/40469e99ee9375267307bada66dd57e5a3e5156d
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestAutoScalingTask.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/IterativeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/GenericTaskHandler.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketingManager.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/ReleaseBucketsOperation.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/workers/ExpectedSetup.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/workers/WorkersReconciliation.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/AbstractRepoCommonTest.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestWorkerTasks.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskHandler.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterManager.java
A repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/NodeFoundDeadHelper.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/TaskStateManager.java
Log Message:
-----------
Improve auto-scaling mechanism
1. A task releases all buckets as soon as it exits processing
of a current bucket in a way other than regular completion. This
ensures e.g. that tasks that are suspended in a standard way hold
no buckets. (And this ensures correct processing of all buckets by
remaining workers.)
2. When a node is detected to be down by ClusterManager, all buckets
held by all tasks that were executing on it are automatically released.
The reason is exactly the same as above: to prevent buckets be held
by ghost tasks indefinitely.
3. When reconciling workers, we suspend only the superfluous tasks that
run on nodes that are still up and alive. (It is not sufficient
that they are not down.) This is because we rely on the tasks
themselves to release their buckets. This is not a perfect solution,
though - see MID-7180.
Commit: 06a86ae040dfe17aeb4747f6350ac5cfe6b83aeb
https://github.com/Evolveum/midpoint/commit/06a86ae040dfe17aeb4747f6350ac5cfe6b83aeb
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationCampaignMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationCaseMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationDefinitionMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItemMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItemReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/cases/QCaseMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/cases/workitem/QCaseWorkItemMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/cases/workitem/QCaseWorkItemReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/connector/QConnectorHostMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/connector/QConnectorMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QUserMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/QLookupTableMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/QLookupTableRowMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QAssignmentHolderMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QOperationExecutionMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QTriggerMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/org/QOrgMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/other/QObjectTemplateMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/other/QSequenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QObjectReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/report/QReportMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/resource/QResourceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/role/QAbstractRoleMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/role/QArchetypeMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QTaskMapping.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/44c520b16cd3...06a86ae040df
More information about the midPoint-svn
mailing list