deegree / deegree3

Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
https://www.deegree.org
GNU Lesser General Public License v2.1
146 stars 99 forks source link

Rethink locking support within deegree #1259

Open copierrj opened 2 years ago

copierrj commented 2 years ago

We are currently using H2 to implement local locking. Given that this is the only thing we use H2 for we should rethink this strategy. We should at least be able to drop the H2 dependency as this would resolve #1250.

The WFS should use the locking functionality provided by the database backing the FeatureStore and when a file based FeatureStore is in use we could consider refusing locking requests.

tfr42 commented 2 years ago

The TMC has the notion to remove the dependency to H2 and document that users have to provide a compatible database him/herself. As an alternative the feature is kept and an upgrade of H2 is required. Contributions are highly appreciated.

stephanr commented 2 years ago

The following matches in the source tree may also be wrong imports

Other places where h2 is used are:

stephanr commented 2 years ago

There is also a collision on Tables named "LOCKS", so if that was the only problem, #1296 would fix it, and we could at least upgrade H2 to a safer version.