[midPoint-git] [Evolveum/midpoint] bc2b2f: Skip costlier UcfResourceObject consistency checks

mederly noreply at github.com
Tue Jan 21 11:49:41 CET 2025


  Branch: refs/heads/tmp/further-preprocessing-perf-improvements
  Home:   https://github.com/Evolveum/midpoint
  Commit: bc2b2fb0f5689c417be2b2d6cb72a47e4d5cd33d
      https://github.com/Evolveum/midpoint/commit/bc2b2fb0f5689c417be2b2d6cb72a47e4d5cd33d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfResourceObject.java

  Log Message:
  -----------
  Skip costlier UcfResourceObject consistency checks

This should improve the performance of shadow "get" operation a bit.


  Commit: d28a6e28b6293fac12c26b5f78dc84e408f442a4
      https://github.com/Evolveum/midpoint/commit/d28a6e28b6293fac12c26b5f78dc84e408f442a4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalObjectCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/ModificationOpHandler.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/PassReason.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpHandler.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/Invalidator.java

  Log Message:
  -----------
  Reduce the number of query cache invalidations

Invalidation of the global (and sometimes local) query cache may be
a costly operation, as we must walk through all the cached queries.
This commit ensures that it's skipped in cases when the object type
in question (like ShadowType) is not query-cached at all.

To be able to do that, this commit forbids caching ObjectType queries
(which are not recommended anyway).

This should improve the performance of shadow add, modify, and delete
operations.


Compare: https://github.com/Evolveum/midpoint/compare/143c72665398...d28a6e28b629

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list