[ https://issues.apache.org/jira/browse/IGNITE-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Darlington updated IGNITE-13468: ---------------------------------------- Description: 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}} {{$}} was: 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}} {{ $}} > 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 > Priority: Minor > > 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)