SuccessChanges

Summary

  1. Implementation for a shared RevObject cache (details)
  2. Upgrade downloadable postgres DDL script to include index tables (details)
  3. User documentation for shared revision objects cache. (details)
  4. 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/PGObjectStore.java (diff)
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 addedsrc/core/src/test/java/org/locationtech/geogig/storage/cache/ObjectCacheStressTest.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 addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/ObjectCache.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGIndexDatabase.java (diff)
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGCache.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGObjectDatabaseStressTest.java (diff)
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/Key.java
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/CacheIdentifier.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGStorage.java (diff)
The file was addedsrc/core/src/main/java/org/locationtech/geogig/storage/cache/CacheManager.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGCacheTest.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/DataSourceManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectDatabase.java (diff)
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/KeyTest.java
Commit a3af523ea0586fc1363ac5b68eb2c56e1cc198e3 by groldan
Upgrade downloadable postgres DDL script to include index tables
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifieddoc/manual/source/repo/geogig_postgres.sql (diff)
Commit 2ceef286729dec404092331920bfda7006e59716 by groldan
User documentation for shared revision objects cache.
Add general and geoserver specific user docs on how to configure and
query the shared cache.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifieddoc/manual/source/start/installation.rst (diff)
The file was addeddoc/manual/source/start/runtime.rst
The file was addeddoc/manual/source/img/geogig_cache_jconsole.png
The file was modifieddoc/manual/source/repo/storage.rst (diff)
The file was addeddoc/manual/source/img/geoserver_geogig_settings_page.png
The file was modifieddoc/manual/source/start/index.rst (diff)
The file was modifieddoc/manual/source/interaction/geoserver_ui.rst (diff)
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 (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/memory/HeapGraphDatabase.java (diff)