Re: Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-08-28 Thread afedotov
Hi, Deletion happens on next startup of the node. Kind regards, Alex. On Thu, Aug 24, 2017 at 7:13 PM, Ramzinator [via Apache Ignite Users] < ml+s70518n16401...@n6.nabble.com> wrote: > Hi > > It appears that even when the ignite node shuts down, it does not delete > the created cache files. > I

Re: Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-08-24 Thread Ramzinator
Hi It appears that even when the ignite node shuts down, it does not delete the created cache files. Is there any prebuilt way in ignite to delete these files? Thanks, Ramz -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-destroy-close-does-not-delete-Swap

Re: Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-06-02 Thread Ramzinator
Thanks for the tip Alex, I agree it makes sense. As for the file being deleted upon node exit. That doesn't seem to be the case in my test. In any case, I'll make sure to delete the files manually when I'm sure I want to. Thanks Ramzinator -- View this message in context: http://apache-ignite-

Re: Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-06-02 Thread Alexander Fedotov
tp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_ema

Re: Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-06-01 Thread afedotov
Hi. As for now, there is no safe way to do it via the public API. Nevertheless, these files will be cleared after the Ignite node bounce. Kind regards, Alex. On Mon, May 29, 2017 at 6:27 PM, Ramzinator [via Apache Ignite Users] < ml+s70518n13205...@n6.nabble.com> wrote: > Hi all, > > I have a

Cache.destroy() & close() does not delete SwapFile Ignite 2.0

2017-05-29 Thread Ramzinator
Hi all, I have a Cache that I've configured to use swap space by setting it's policy configuration as such: policy.setSwapFilePath("ignite\\cache"); Yet at the end of my unit tests, when I call cache.close() or cache.destroy(), it does not delete the created file. What can I do to guarantee the