[midPoint-git] [Evolveum/midpoint] 0733fc: Add host ID to lightweight IDs (preliminary)

mederly noreply at github.com
Mon Apr 3 15:44:49 CEST 2023


  Branch: refs/heads/support-4.4
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0733fcb9066c868f1c6e0c1b4e3802bc7efdd796
      https://github.com/Evolveum/midpoint/commit/0733fcb9066c868f1c6e0c1b4e3802bc7efdd796
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/LightweightIdentifierGeneratorImpl.java

  Log Message:
  -----------
  Add host ID to lightweight IDs (preliminary)

This is a preliminary solution to potential conflicts against light-
weight IDs in a cluster. Each node is assigned an ID derived from
the last 2 bytes of its node object OID.

Not collision-proof but better than nothing.

Related to MID-4579.

(cherry picked from commit 3ad997dbf5d3702c81ff9cdcb4865e49bd81e1ce)


  Commit: 2ece42b97f24e0ffb1e946b82b076297864c4c35
      https://github.com/Evolveum/midpoint/commit/2ece42b97f24e0ffb1e946b82b076297864c4c35
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ExpressionValidator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/DirectoryFileObjectResolver.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectResolver.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/RepoObjectResolver.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/support-4.4' into support-4.4


Compare: https://github.com/Evolveum/midpoint/compare/6a081ae65aa7...2ece42b97f24


More information about the midPoint-svn mailing list