[midPoint-git] [Evolveum/midpoint] 24fd5e: Stop accepting obsolete data to caches (MID-6250)
mederly
noreply at github.com
Tue May 5 08:58:05 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 24fd5e20214cfde3d019e434cf120a8e6f7b4290
https://github.com/Evolveum/midpoint/commit/24fd5e20214cfde3d019e434cf120a8e6f7b4290
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsPerformancePanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/CachePerformanceInformationUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/caching/AbstractThreadLocalCache.java
M infra/util/src/main/java/com/evolveum/midpoint/util/caching/CachePerformanceCollector.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/AbstractGlobalCache.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalCacheObjectValue.java
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/global/GlobalQueryCache.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheAccessInfo.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheSetAccessInfo.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheSetAccessInfoFactory.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachingResultHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpExecution.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetVersionOpExecution.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetVersionOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/ReportingResultHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpExecution.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/ChangeDescription.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/InvalidationEvent.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/InvalidationEventListener.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/Invalidator.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/LocalQueryCache.java
M repo/repo-cache/src/test/java/com/evolveum/midpoint/repo/cache/TestRepositoryCache.java
M repo/repo-cache/src/test/resources/logback-test.xml
Log Message:
-----------
Stop accepting obsolete data to caches (MID-6250)
1) Caching of object/version data in searchObjectsIterative calls now
occurs before the result handler is called, not after the whole
operation is done.
2) Caching of query results in searchObjectsIterative calls is now
prevented if invalidation events (gathered during the operation)
indicate that the result is no longer valid.
3) Maximum size of cached searchObjects/searchObjectsIterative calls
was reduced from 100,000 to 100 objects.
4) "Data staleness limit" of 1000 ms was introduced for search calls.
5) Experimental reporting on "big query result" and "stale data" events
was established.
Commit: f7953b1bd3f2751205c15ffbb3796769482b6b71
https://github.com/Evolveum/midpoint/commit/f7953b1bd3f2751205c15ffbb3796769482b6b71
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M gui/admin-gui/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/FocusListInlineMenuHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/roles/PageRoles.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/services/PageServices.java
M tools/ninja/pom.xml
M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/DeleteRepositoryTest.java
M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/ImportInvalidRepositoryTest.java
M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/ImportRepositoryTest.java
M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/NinjaContextTest.java
R tools/ninja/testng-integration.xml
M tools/ninja/testng-unit.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/d2b326aad552...f7953b1bd3f2
More information about the midPoint-svn
mailing list