peterjohnlawrence / com.inova8.odata2sparql.v4

Part of the overall odata2sparql solution, this odata2sparql.v4 module containing the olingo4 dependencies. In other words specifically for odata v4
http://inova8.com/bg_inova8.com/offerings/odata2sparql/
Apache License 2.0
5 stars 5 forks source link

If two requests hit service at same time before it is initialized then one can lock the files for the other #194

Closed peterjohnlawrence closed 4 years ago

peterjohnlawrence commented 4 years ago

When starting Lens with an uninitialized odata, it creates a batch with a metadata and a data request. These both trigger the fetching of the RdfEdmRepositories.

Solved by creating a synchronized thread to do the checking