Open copierrj opened 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.
The following matches in the source tree may also be wrong imports
Other places where h2 is used are:
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.
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.