Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-27 Thread Denis Garus
Ivan, there are some questions related to ticket IGNITE-8162: 1. deleting a file of cache configuration leads to successfuly getting cache clonfiguration. But, is there guarantee that cache will work correctly? 2. if deleting a file of cache configuration is enough to get cache able to work, ca

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-06 Thread Denis Magda
Thanks, Ivan, It will be good if we fix usability issues like that as soon as possible because usually, they don't involve much effort. Igniters, is anyone interested to implement the improvement for 2.5 release? -- Denis On Fri, Apr 6, 2018 at 4:12 AM, Ivan Rakov wrote: > By the way, ticket

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-06 Thread Ivan Rakov
By the way, ticket is marked with "newbie" label. If there's anyone who wants to start contributing in Ignite, feel free to take this issue. Best Regards, Ivan Rakov On 06.04.2018 14:06, Ivan Rakov wrote: Denis, I'm sure we can: https://issues.apache.org/jira/browse/IGNITE-8162 Best Regards

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-06 Thread Ivan Rakov
Denis, I'm sure we can: https://issues.apache.org/jira/browse/IGNITE-8162 Best Regards, Ivan Rakov On 05.04.2018 22:39, Denis Magda wrote: Ivan, How can we facilitate the user here? Can we generate a meaningful exception that explains how to tackle the issue? -- Denis On Thu, Apr 5, 2018 at

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-05 Thread Denis Magda
Ivan, How can we facilitate the user here? Can we generate a meaningful exception that explains how to tackle the issue? -- Denis On Thu, Apr 5, 2018 at 2:49 AM, Ivan Rakov wrote: > Hi, > > Cache configuration is persisted in > db\{consistent-ID}\cache-{cache-name}\cache_data.dat > file. It's

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-05 Thread Ivan Rakov
Hi, Cache configuration is persisted in db\{consistent-ID}\cache-{cache-name}\cache_data.dat file. It's just CacheConfiguration serialized by JDK marshaller. Try to delete this file and start cache with new configuration (with correct factory class names). All your data will persist as long as

Re: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-04 Thread Denis Magda
Ivan R., Alex G., persistence experts, Please have a look at this question. -- Denis On Mon, Apr 2, 2018 at 6:15 AM, Andrey Mashenkov wrote: > Crossposting to dev. > > Guys, > User use Ignite native persistence with CacheStore configured. > Seems, changing CacheStore requires cache recreation

Fwd: Data Loss while upgrading custom jar from old jar in server and client nodes

2018-04-02 Thread Andrey Mashenkov
Crossposting to dev. Guys, User use Ignite native persistence with CacheStore configured. Seems, changing CacheStore requires cache recreation in his case to changes can be applied. Does anybody has idea how it can be fixed? Do we allow to rewrite cache config in native store if it has minor cha