SuccessChanges

Summary

  1. Implementation for a shared RevObject cache (details)
  2. Fix HeapGraphDatabase concurrency (details)
Commit 122056126a91eadfd10b73a32c22255dae0f6eff by groldan
Implementation for a shared RevObject cache
A RevObject cache to be transparently shared among repository instances.
A repository (or ObjectStore implementation) supplies a unique
identifier to CacheManager.acquire(String) to obtain an ObjectCache
that, from the point of view of the calling code, contains only the
RevObject instances it puts on it, but that internally shares the cache
with other ObjectCache instances, so that the cache size can be tracked
and managed as a single entity for all.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGStorage.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGObjectDatabaseStressTest.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/SharedCache.java
The file was addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/ObjectCacheTest.java
The file was addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/SharedCacheTest.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectStore.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/CacheManager.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/Key.java
The file was addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/ObjectCacheStressTest.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectDatabase.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/CacheIdentifier.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/ObjectCache.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGCache.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGCacheTest.java
The file was addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/CacheManagerTest.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/CacheManagerBean.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/DataSourceManager.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGIndexDatabase.java
The file was addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/KeyTest.java
Commit 51862d6812767f12cab90e81540532f35350b4cf by groldan
Fix HeapGraphDatabase concurrency
HeapGraphDatabaseTest.testUpdateConcurrency() was failing most of the
times
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/memory/Graph.java
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/memory/HeapGraphDatabase.java