Alessio Fabiani ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0027cfac-890c-48e1-8af0-974f12f7b9dc
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10554?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 ) GEOS-10554 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10554?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 ) ImageMosaic plugin layer if deleted, deletes whole database ( 
https://osgeo-org.atlassian.net/browse/GEOS-10554?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Created: 20/Jun/22 11:00 AM Priority: 
Medium Reporter: Alessio Fabiani ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0027cfac-890c-48e1-8af0-974f12f7b9dc
 )

Accordingly to this methos here ( 
https://github.com/geotools/geotools/blob/main/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/catalog/AbstractGTDataStoreGranuleCatalog.java#L753
 ) it looks like a drop call to the ImageMosaic store will end up dropping the 
whole DB.

E.g.: a rest call like this < 
http://localhost:8080/geoserver/rest/workspaces/geonode/coveragestores/optimized.xml?purge=all&recurse=true
 > will force the plugin to DROP the whole DB defined into the 
datastore.properties file

This might be a big issue whenever we are going to use the same DB to store 
more than one dataset. In this specific case we will end up dropping all the 
data withing a single rest call.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10554#add-comment?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10554#add-comment?atlOrigin=eyJpIjoiYzcyNGU3NDhmMWE4NDRiMjhkNzk3YWJjNWQ0NTZiNjciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- 
sha1:07cea57 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to