You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stephen Darlington (Jira)" <ji...@apache.org> on 2020/09/21 15:18:00 UTC

[jira] [Created] (IGNITE-13468) Destroying a caches doesn't clean up cache directory

Stephen Darlington created IGNITE-13468:
-------------------------------------------

             Summary: Destroying a caches doesn't clean up cache directory
                 Key: IGNITE-13468
                 URL: https://issues.apache.org/jira/browse/IGNITE-13468
             Project: Ignite
          Issue Type: Bug
          Components: persistence
    Affects Versions: 2.8.1
            Reporter: Stephen Darlington


If I create a cache – either with SQL or with Ignite#getOrCreateCache() – in a data region with persistence enabled, destroying the cache removes all the data files but not the directory in which they're stored.

For example. Before:

{{$ ls cache*}}
{{ cache-DESTROY_DEMO:}}
{{ cache_data.dat index.bin part-2.bin part-3.bin part-4.bin}}

 

{{cache-ignite-sys-cache:}}
{{ cache_data.dat index.bin}}
{{ $}}

After:

{{$ ls cache*}}
{{ cache-DESTROY_DEMO:}}

 

{{cache-ignite-sys-cache:}}
{{ cache_data.dat index.bin}}
{{ $}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)