You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/08/12 10:11:00 UTC

[jira] [Resolved] (JENA-1481) Deleting dataset in Fuseki does not delete dataset permanently

     [ https://issues.apache.org/jira/browse/JENA-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-1481.
---------------------------------
       Resolution: Fixed
         Assignee: Andy Seaborne
    Fix Version/s: Jena 3.9.0

The database files for datasets created via the UI, or via the server protocol operation that is used, will delete the database files.

If the database has been configured by having the database files outside the server managed area (FUSEKI_BASE), the files are not deleted.

If the run/database entry for the database is a symbolic link, the link is deleted but not the target of the link.

This may be useful to some people so that they are delete and create databases but not have the server delete storage files.

> Deleting dataset in Fuseki does not delete dataset permanently
> --------------------------------------------------------------
>
>                 Key: JENA-1481
>                 URL: https://issues.apache.org/jira/browse/JENA-1481
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>         Environment: Linux & Windows
>            Reporter: Prakash Sagadevan
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.9.0
>
>         Attachments: image-2018-02-08-17-34-35-843.png, image-2018-02-08-17-54-05-560.png, image-2018-02-08-17-54-22-860.png, image-2018-02-08-17-54-40-174.png, image-2018-02-08-17-54-53-762.png, image-2018-02-08-17-55-05-360.png, image-2018-02-08-17-55-21-173.png
>
>
> In Apache Jena fuskei 3.6.0, I have created a persistent dataset called "Sample". 
> Following are the steps performed to created a "Sample" dataset
>  # Fuseki Version !image-2018-02-08-17-54-05-560.png!
>  # Create a persistent dataset !image-2018-02-08-17-54-22-860.png!
>  # Checking Fuskei TDB Location. 
>  ## Once after the new dataset created, the configuration turtle file (Sample.ttl) and database folder (Sample) is created. !image-2018-02-08-17-54-40-174.png!
>  # Remove the "Sample" dataset
>  ## Click Remove button !image-2018-02-08-17-54-53-762.png!
>  ## Confirmation !image-2018-02-08-17-55-05-360.png!  
>  # Check the Fuskei TDB Location.  !image-2018-02-08-17-55-21-173.png!
> It seems that latest *Apache Jena fuskei 3.6.0* application deletes only the configuration turtle file not the database folder in both Windows and Linux environment.
> *Note:* *Apache Jena fuskei 3.4.0* application could not delete both configuration turtle file and database. so the dataset will be present when fuseki restarted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)