[midPoint-git] [Evolveum/midpoint] bfcc7a: Change work allocation contention resolution

Pavol Mederly mederly at evolveum.com
Thu Apr 12 12:20:40 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: bfcc7a29f0ba93de62839822475776f691a51c27
      https://github.com/Evolveum/midpoint/commit/bfcc7a29f0ba93de62839822475776f691a51c27
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

  Changed paths:
    M infra/util/src/main/java/com/evolveum/midpoint/util/FailableRunnable.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/backoff/BackoffComputer.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/backoff/ExponentialBackoffComputer.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/backoff/LinearBackoffComputer.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/backoff/RetryLimitedBackoffComputer.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlBaseService.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlPerformanceMonitor.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobExecutor.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/WorkStateManager.java

  Log Message:
  -----------
  Change work allocation contention resolution

>From linear to truncated exponential backoff. It should now scale
better for many worker threads. Changed task manager configuration
fields (renamed: workAllocationMaxRetries,
new: workAllocationRetryExponentialThreshold). Unified backoff
algorithm with the one used in repository service.

Also fixed the problem of hanging of tasks hit by allocation failures.


  Commit: f55e07d65ec83a93ae301653aabc775d7383d92d
      https://github.com/Evolveum/midpoint/commit/f55e07d65ec83a93ae301653aabc775d7383d92d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismContainerValueHeaderPanel.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/dd921f24a3e2...f55e07d65ec8


More information about the midPoint-svn mailing list