geoserver-cloud icon indicating copy to clipboard operation
geoserver-cloud copied to clipboard

Implement LockProvider for Catalog-Service backend

Open groldan opened this issue 3 years ago • 0 comments

There's no lock provider for the catalog backend. The client shall issue a request to the service, which should lock the resource on behalf of the caller service.

Moreover, given there could be several catalog service instances for HA, locks cannot be held by the service itself, so none of the current solutions would work.

Idea is to use something like spring-integration-jdbc to hold the locks on the database, but without having to keep a reference to a java.util.concurrent.Lock in memory, since lock acquire and release requests could hit different catalog service instances due to load balancing.

groldan avatar Oct 19 '21 16:10 groldan